Package org.apache.http.impl.client
Class ProxyClient
- java.lang.Object
-
- org.apache.http.impl.client.ProxyClient
-
public class ProxyClient extends java.lang.Object
ProxyClient can be used to establish a tunnel via an HTTP proxy.
-
-
Constructor Summary
Constructors Constructor Description ProxyClient()
ProxyClient(RequestConfig requestConfig)
ProxyClient(HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory, ConnectionConfig connectionConfig, RequestConfig requestConfig)
ProxyClient(HttpParams params)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AuthSchemeRegistry
getAuthSchemeRegistry()
Deprecated.(4.3) do not use.HttpParams
getParams()
Deprecated.(4.3) do not use.java.net.Socket
tunnel(HttpHost proxy, HttpHost target, Credentials credentials)
-
-
-
Constructor Detail
-
ProxyClient
public ProxyClient(HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory, ConnectionConfig connectionConfig, RequestConfig requestConfig)
- Since:
- 4.3
-
ProxyClient
@Deprecated public ProxyClient(HttpParams params)
Deprecated.
-
ProxyClient
public ProxyClient(RequestConfig requestConfig)
- Since:
- 4.3
-
ProxyClient
public ProxyClient()
-
-
Method Detail
-
getParams
@Deprecated public HttpParams getParams()
Deprecated.(4.3) do not use.
-
getAuthSchemeRegistry
@Deprecated public AuthSchemeRegistry getAuthSchemeRegistry()
Deprecated.(4.3) do not use.
-
tunnel
public java.net.Socket tunnel(HttpHost proxy, HttpHost target, Credentials credentials) throws java.io.IOException, HttpException
- Throws:
java.io.IOException
HttpException
-
-