|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.http.impl.client.CloseableHttpClient org.apache.http.impl.client.AbstractHttpClient org.apache.http.impl.client.DefaultHttpClient org.apache.http.impl.client.ContentEncodingHttpClient
HttpClientBuilder
@Deprecated @Contract(threading=SAFE_CONDITIONAL) public class ContentEncodingHttpClient
DefaultHttpClient
sub-class which includes a RequestAcceptEncoding
for the request and response.
Deprecation note: due to the way this class modifies a response body
without changing the response headers to reflect the entity changes, it cannot
be used as the "backend" for a caching HttpClient
and still have uncompressed responses be cached.
Users are encouraged to use the DecompressingHttpClient
instead
of this class, which can be wired in either before or after caching, depending on
whether you want to cache responses in compressed or uncompressed form.
Constructor Summary | |
---|---|
ContentEncodingHttpClient()
Deprecated. |
|
ContentEncodingHttpClient(ClientConnectionManager conman,
org.apache.http.params.HttpParams params)
Deprecated. Creates a new HTTP client from parameters and a connection manager. |
|
ContentEncodingHttpClient(org.apache.http.params.HttpParams params)
Deprecated. |
Method Summary | |
---|---|
protected org.apache.http.protocol.BasicHttpProcessor |
createHttpProcessor()
Deprecated. Create the processor with the following interceptors: RequestDefaultHeaders
RequestContent
RequestTargetHost
RequestClientConnControl
RequestUserAgent
RequestExpectContinue
RequestAddCookies
ResponseProcessCookies
RequestAuthCache
RequestTargetAuthentication
RequestProxyAuthentication
|
Methods inherited from class org.apache.http.impl.client.DefaultHttpClient |
---|
createHttpParams, setDefaultHttpParams |
Methods inherited from class org.apache.http.impl.client.CloseableHttpClient |
---|
execute, execute, execute, execute, execute, execute, execute, execute |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContentEncodingHttpClient(ClientConnectionManager conman, org.apache.http.params.HttpParams params)
params
- the parametersconman
- the connection managerpublic ContentEncodingHttpClient(org.apache.http.params.HttpParams params)
params
- public ContentEncodingHttpClient()
Method Detail |
---|
protected org.apache.http.protocol.BasicHttpProcessor createHttpProcessor()
RequestDefaultHeaders
RequestContent
RequestTargetHost
RequestClientConnControl
RequestUserAgent
RequestExpectContinue
RequestAddCookies
ResponseProcessCookies
RequestAuthCache
RequestTargetAuthentication
RequestProxyAuthentication
createHttpProcessor
in class DefaultHttpClient
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |