Httpclient5
Composite Recipes
Recipes that include further recipes, often including the individual recipes below.
- Adds
TimeUnitto timeouts and duration methods - Migrate Apache HttpCore Nio Input Buffer classes to Apache HttpCore 5.x
- Migrate Apache HttpCore Nio Output Buffer classes to Apache HttpCore 5.x
- Migrate
clearto ApacheHttpClient 5.xCredentialsStore - Migrate from httpcore-nio to ApacheHttpClient 5.x core dependency
- Migrate from org.apache.httpcomponents to ApacheHttpClient 5.x dependencies
- Migrate
setCredentialsto ApacheHttpClient 5.xCredentialsStore - Migrate to Apache HttpCore Nio Classes to Apache HttpCore 5.x
- Migrate to Apache HttpCore Nio Util Classes to Apache HttpCore 5.x
- Migrate to ApacheHttpClient 5.x
- Migrate to ApacheHttpClient 5.x Classes Namespace from 4.x
- Migrate to ApacheHttpClient 5.x deprecated methods from 4.x
- Migrate to ApacheHttpClient 5.x deprecated methods from 4.x
Recipes
- Adds a TimeUnit argument to the matched method invocations
- Adds offset and length arguments to the read method of SharedInputBuffer
- Adds offset and length arguments to the write method of SharedOutputBuffer
- Changes an argument to a
TimeValuefor matched method invocations - Migrate
RequestConfigto httpclient5 - Migrate
UsernamePasswordCredentialsto httpclient5 - Migrate deprecated
SSLConnectionSocketFactorytoDefaultClientTlsStrategy - Remove ByteBufferAllocator implementations
- Replace
new StringEntity(String, String)withnew StringEntity(String, Charset) - Replaces
AuthScope.ANY - Replaces deprecated
HttpRequestBase::getRequestLine() - Replaces deprecated
HttpResponse::getStatusLine()