Package org.apache.http.impl.client
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, ConnectionConfig connectionConfig, RequestConfig requestConfig) ProxyClient
(HttpParams params) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.(4.3) do not use.Deprecated.(4.3) do not use.tunnel
(HttpHost proxy, HttpHost target, Credentials credentials)
-
Constructor Details
-
ProxyClient
public ProxyClient(HttpConnectionFactory<HttpRoute, ManagedHttpClientConnection> connFactory, 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(HttpHost proxy, HttpHost target, Credentials credentials) throws IOException, HttpException - Throws:
IOException
HttpException
-
ProxyClient(HttpConnectionFactory, ConnectionConfig, RequestConfig)