Httpclient5
Composite Recipes
Recipes that include further recipes, often including the individual recipes below.
- Adds
TimeUnit
to 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
clear
to ApacheHttpClient 5.xCredentialsStore
- Migrate from httpcore-nio to ApacheHttpClient 5.x core dependency
- Migrate from org.apache.httpcomponents to ApacheHttpClient 5.x dependencies
- Migrate
setCredentials
to 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
TimeValue
for matched method invocations - Migrate
RequestConfig
to httpclient5 - Migrate
UsernamePasswordCredentials
to httpclient5 - Migrate deprecated
SSLConnectionSocketFactory
toDefaultClientTlsStrategy
- Remove ByteBufferAllocator implementations
- Replace
new StringEntity(String, String)
withnew StringEntity(String, Charset)
- Replaces
AuthScope.ANY
- Replaces deprecated
HttpRequestBase::getRequestLine()
- Replaces deprecated
HttpResponse::getStatusLine()