Package | Description |
---|---|
org.apache.http.impl.client |
Default HTTP client implementation.
|
org.apache.http.impl.execchain |
HTTP request execution chain APIs.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultRedirectStrategy
Default implementation of
RedirectStrategy . |
class |
LaxRedirectStrategy
Lax
RedirectStrategy implementation
that automatically redirects all HEAD, GET, POST, and DELETE requests. |
Modifier and Type | Field and Description |
---|---|
protected RedirectStrategy |
DefaultRequestDirector.redirectStrategy
Deprecated.
The redirect strategy.
|
Modifier and Type | Method and Description |
---|---|
RedirectStrategy |
AbstractHttpClient.getRedirectStrategy()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected RequestDirector |
AbstractHttpClient.createClientRequestDirector(org.apache.http.protocol.HttpRequestExecutor requestExec,
ClientConnectionManager conman,
org.apache.http.ConnectionReuseStrategy reustrat,
ConnectionKeepAliveStrategy kastrat,
HttpRoutePlanner rouplan,
org.apache.http.protocol.HttpProcessor httpProcessor,
HttpRequestRetryHandler retryHandler,
RedirectStrategy redirectStrategy,
AuthenticationHandler targetAuthHandler,
AuthenticationHandler proxyAuthHandler,
UserTokenHandler userTokenHandler,
org.apache.http.params.HttpParams params)
Deprecated.
(4.2) do not use
|
protected RequestDirector |
AbstractHttpClient.createClientRequestDirector(org.apache.http.protocol.HttpRequestExecutor requestExec,
ClientConnectionManager conman,
org.apache.http.ConnectionReuseStrategy reustrat,
ConnectionKeepAliveStrategy kastrat,
HttpRoutePlanner rouplan,
org.apache.http.protocol.HttpProcessor httpProcessor,
HttpRequestRetryHandler retryHandler,
RedirectStrategy redirectStrategy,
AuthenticationStrategy targetAuthStrategy,
AuthenticationStrategy proxyAuthStrategy,
UserTokenHandler userTokenHandler,
org.apache.http.params.HttpParams params)
Deprecated.
|
void |
AbstractHttpClient.setRedirectStrategy(RedirectStrategy strategy)
Deprecated.
|
HttpClientBuilder |
HttpClientBuilder.setRedirectStrategy(RedirectStrategy redirectStrategy)
Assigns
RedirectStrategy instance. |
Constructor and Description |
---|
DefaultRequestDirector(org.apache.commons.logging.Log log,
org.apache.http.protocol.HttpRequestExecutor requestExec,
ClientConnectionManager conman,
org.apache.http.ConnectionReuseStrategy reustrat,
ConnectionKeepAliveStrategy kastrat,
HttpRoutePlanner rouplan,
org.apache.http.protocol.HttpProcessor httpProcessor,
HttpRequestRetryHandler retryHandler,
RedirectStrategy redirectStrategy,
AuthenticationHandler targetAuthHandler,
AuthenticationHandler proxyAuthHandler,
UserTokenHandler userTokenHandler,
org.apache.http.params.HttpParams params)
Deprecated.
|
DefaultRequestDirector(org.apache.commons.logging.Log log,
org.apache.http.protocol.HttpRequestExecutor requestExec,
ClientConnectionManager conman,
org.apache.http.ConnectionReuseStrategy reustrat,
ConnectionKeepAliveStrategy kastrat,
HttpRoutePlanner rouplan,
org.apache.http.protocol.HttpProcessor httpProcessor,
HttpRequestRetryHandler retryHandler,
RedirectStrategy redirectStrategy,
AuthenticationStrategy targetAuthStrategy,
AuthenticationStrategy proxyAuthStrategy,
UserTokenHandler userTokenHandler,
org.apache.http.params.HttpParams params)
Deprecated.
|
Constructor and Description |
---|
RedirectExec(ClientExecChain requestExecutor,
HttpRoutePlanner routePlanner,
RedirectStrategy redirectStrategy) |
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.