Class ProxyClient
java.lang.Object
org.apache.http.impl.client.ProxyClient
ProxyClient can be used to establish a tunnel via an HTTP proxy.
-
Constructor Summary
ConstructorsConstructorDescriptionProxyClient(RequestConfig requestConfig) ProxyClient(HttpConnectionFactory<HttpRoute, ManagedHttpClientConnection> connFactory, org.apache.http.config.ConnectionConfig connectionConfig, RequestConfig requestConfig) ProxyClient(org.apache.http.params.HttpParams params) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.(4.3) do not use.org.apache.http.params.HttpParamsDeprecated.(4.3) do not use.tunnel(org.apache.http.HttpHost proxy, org.apache.http.HttpHost target, Credentials credentials)
-
Constructor Details
-
ProxyClient
public ProxyClient(HttpConnectionFactory<HttpRoute, ManagedHttpClientConnection> connFactory, org.apache.http.config.ConnectionConfig connectionConfig, RequestConfig requestConfig) - Since:
- 4.3
-
ProxyClient
Deprecated. -
ProxyClient
- Since:
- 4.3
-
ProxyClient
public ProxyClient()
-
-
Method Details
-
getParams
Deprecated.(4.3) do not use. -
getAuthSchemeRegistry
Deprecated.(4.3) do not use. -
tunnel
public Socket tunnel(org.apache.http.HttpHost proxy, org.apache.http.HttpHost target, Credentials credentials) throws IOException, org.apache.http.HttpException - Throws:
IOExceptionorg.apache.http.HttpException
-
ProxyClient(HttpConnectionFactory, ConnectionConfig, RequestConfig)