public class ProxyClient extends Object
| Constructor and Description |
|---|
ProxyClient() |
ProxyClient(HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory, ConnectionConfig connectionConfig, RequestConfig requestConfig) |
ProxyClient(HttpParams params)
|
ProxyClient(RequestConfig requestConfig) |
| Modifier and Type | Method and Description |
|---|---|
AuthSchemeRegistry |
getAuthSchemeRegistry()
已过时。
(4.3)不要使用。
|
HttpParams |
getParams()
已过时。
(4.3)不要使用。
|
Socket |
tunnel(HttpHost proxy, HttpHost target, Credentials credentials) |
public ProxyClient(HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory, ConnectionConfig connectionConfig, RequestConfig requestConfig)
@Deprecated public ProxyClient(HttpParams params)
public ProxyClient(RequestConfig requestConfig)
public ProxyClient()
@Deprecated public HttpParams getParams()
@Deprecated public AuthSchemeRegistry getAuthSchemeRegistry()
public Socket tunnel(HttpHost proxy, HttpHost target, Credentials credentials) throws IOException, HttpException
Copyright © 1999–2017 The Apache Software Foundation. All rights reserved.