Httpclient5
Composite Recipes
Recipes that include further recipes, often including the individual recipes below.
- Adds
TimeUnit
to timeouts and duration methods - Migrate
clear
to ApacheHttpClient 5.xCredentialsStore
- Migrate
setCredentials
to ApacheHttpClient 5.xCredentialsStore
- Migrate to Apache HttpCore Nio 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
- Changes an argument to a
TimeValue
for matched method invocations - Migrate
RequestConfig
to httpclient5 - Migrate
UsernamePasswordCredentials
to httpclient5 - Replace
new StringEntity(String, String)
withnew StringEntity(String, Charset)
- Replaces
AuthScope.ANY
- Replaces deprecated
HttpRequestBase::getRequestLine()
- Replaces deprecated
HttpResponse::getStatusLine()