Deprecated
(4.2) use HttpClientBuilder
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 org.apache.http.client.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.
| Access | Constructor and Description |
|---|---|
| public | ContentEncodingHttpClient(final ClientConnectionManager
the connection manager conman, final HttpParams the parameters params)
Deprecated
as a consequence of
Creates a new HTTP client from parameters and a connection manager.
ClientConnectionManager and HttpParams being deprecated.
|
| public | ContentEncodingHttpClient(final HttpParams params)
Deprecated
as a consequence of
HttpParams being deprecated.
|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected BasicHttpProcessor | createHttpProcessor()
Overrides org.
Deprecated
as a consequence of
Create the processor with the following interceptors:
BasicHttpProcessor being deprecated.
|
| ContentEncodingHttpClient | back to summary |
|---|---|
| public ContentEncodingHttpClient(final ClientConnectionManager conman, final HttpParams params)
Deprecated as a consequence of Creates a new HTTP client from parameters and a connection manager.
| |
| ContentEncodingHttpClient | back to summary |
|---|---|
| public ContentEncodingHttpClient(final HttpParams params)
Deprecated as a consequence of | |
| ContentEncodingHttpClient | back to summary |
|---|---|
| public ContentEncodingHttpClient() | |
| createHttpProcessor | back to summary |
|---|---|
| protected BasicHttpProcessor createHttpProcessor() Overrides org. Doc from org. Deprecated as a consequence of Create the processor with the following interceptors:
| |