| 软件包 | 描述 |
|---|---|
| org.apache.http.impl.auth |
标准和常规HTTP认证方案的默认实现。
|
| org.apache.http.impl.client |
默认HTTP客户端实现。
|
| org.apache.http.impl.execchain |
HTTP请求执行链API。
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
HttpAuthenticator.handleAuthChallenge(HttpHost host, HttpResponse response, AuthenticationStrategy authStrategy, AuthState authState, HttpContext context) |
boolean |
HttpAuthenticator.isAuthenticationRequested(HttpHost host, HttpResponse response, AuthenticationStrategy authStrategy, AuthState authState, HttpContext context) |
| Modifier and Type | Class and Description |
|---|---|
class |
ProxyAuthenticationStrategy
默认 AuthenticationStrategy代理主机身份验证。
|
class |
TargetAuthenticationStrategy
默认 AuthenticationStrategy代理主机身份验证。
|
| Modifier and Type | Field and Description |
|---|---|
protected AuthenticationStrategy |
DefaultRequestDirector.proxyAuthStrategy
已过时。
代理身份验证处理程序。
|
protected AuthenticationStrategy |
DefaultRequestDirector.targetAuthStrategy
已过时。
目标身份验证处理程序。
|
| Modifier and Type | Method and Description |
|---|---|
protected AuthenticationStrategy |
AbstractHttpClient.createProxyAuthenticationStrategy()
已过时。
|
protected AuthenticationStrategy |
AbstractHttpClient.createTargetAuthenticationStrategy()
已过时。
|
AuthenticationStrategy |
AbstractHttpClient.getProxyAuthenticationStrategy()
已过时。
|
AuthenticationStrategy |
AbstractHttpClient.getTargetAuthenticationStrategy()
已过时。
|
| Constructor and Description |
|---|
DefaultRequestDirector(org.apache.commons.logging.Log log, HttpRequestExecutor requestExec, ClientConnectionManager conman, ConnectionReuseStrategy reustrat, ConnectionKeepAliveStrategy kastrat, HttpRoutePlanner rouplan, HttpProcessor httpProcessor, HttpRequestRetryHandler retryHandler, RedirectStrategy redirectStrategy, AuthenticationStrategy targetAuthStrategy, AuthenticationStrategy proxyAuthStrategy, UserTokenHandler userTokenHandler, HttpParams params)
已过时。
|
| Constructor and Description |
|---|
MainClientExec(HttpRequestExecutor requestExecutor, HttpClientConnectionManager connManager, ConnectionReuseStrategy reuseStrategy, ConnectionKeepAliveStrategy keepAliveStrategy, AuthenticationStrategy targetAuthStrategy, AuthenticationStrategy proxyAuthStrategy, UserTokenHandler userTokenHandler) |
MainClientExec(HttpRequestExecutor requestExecutor, HttpClientConnectionManager connManager, ConnectionReuseStrategy reuseStrategy, ConnectionKeepAliveStrategy keepAliveStrategy, HttpProcessor proxyHttpProcessor, AuthenticationStrategy targetAuthStrategy, AuthenticationStrategy proxyAuthStrategy, UserTokenHandler userTokenHandler) |
Copyright © 1999–2017 The Apache Software Foundation. All rights reserved.