@ThreadSafe public class ContentEncodingHttpClient extends DefaultHttpClient
DefaultHttpClient
sub-class which includes a RequestAcceptEncoding
for the request and response.Constructor and Description |
---|
ContentEncodingHttpClient() |
ContentEncodingHttpClient(ClientConnectionManager conman,
org.apache.http.params.HttpParams params)
Creates a new HTTP client from parameters and a connection manager.
|
ContentEncodingHttpClient(org.apache.http.params.HttpParams params) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.http.protocol.BasicHttpProcessor |
createHttpProcessor() |
createHttpParams, setDefaultHttpParams
addRequestInterceptor, addRequestInterceptor, addResponseInterceptor, addResponseInterceptor, clearRequestInterceptors, clearResponseInterceptors, createAuthSchemeRegistry, createClientConnectionManager, createClientRequestDirector, createClientRequestDirector, createConnectionKeepAliveStrategy, createConnectionReuseStrategy, createCookieSpecRegistry, createCookieStore, createCredentialsProvider, createHttpContext, createHttpRequestRetryHandler, createHttpRoutePlanner, createProxyAuthenticationHandler, createRedirectHandler, createRequestExecutor, createTargetAuthenticationHandler, createUserTokenHandler, determineParams, execute, execute, execute, execute, execute, execute, execute, execute, getAuthSchemes, getConnectionKeepAliveStrategy, getConnectionManager, getConnectionReuseStrategy, getCookieSpecs, getCookieStore, getCredentialsProvider, getHttpProcessor, getHttpRequestRetryHandler, getParams, getProxyAuthenticationHandler, getRedirectHandler, getRedirectStrategy, getRequestExecutor, getRequestInterceptor, getRequestInterceptorCount, getResponseInterceptor, getResponseInterceptorCount, getRoutePlanner, getTargetAuthenticationHandler, getUserTokenHandler, removeRequestInterceptorByClass, removeResponseInterceptorByClass, setAuthSchemes, setCookieSpecs, setCookieStore, setCredentialsProvider, setHttpRequestRetryHandler, setKeepAliveStrategy, setParams, setProxyAuthenticationHandler, setRedirectHandler, setRedirectStrategy, setReuseStrategy, setRoutePlanner, setTargetAuthenticationHandler, setUserTokenHandler
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()
protected org.apache.http.protocol.BasicHttpProcessor createHttpProcessor()
createHttpProcessor
in class DefaultHttpClient
Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.