HttpClientBuilder@Deprecated public class SystemDefaultHttpClient extends DefaultHttpClient
DefaultHttpClient pre-configured using system properties.
The following system properties are taken into account by this class:
The following parameters can be used to customize the behavior of this class:
org.apache.http.params.CoreProtocolPNames#PROTOCOL_VERSIONorg.apache.http.params.CoreProtocolPNames#STRICT_TRANSFER_ENCODINGorg.apache.http.params.CoreProtocolPNames#HTTP_ELEMENT_CHARSETorg.apache.http.params.CoreProtocolPNames#USE_EXPECT_CONTINUEorg.apache.http.params.CoreProtocolPNames#WAIT_FOR_CONTINUEorg.apache.http.params.CoreProtocolPNames#USER_AGENTorg.apache.http.params.CoreConnectionPNames#TCP_NODELAYorg.apache.http.params.CoreConnectionPNames#SO_TIMEOUTorg.apache.http.params.CoreConnectionPNames#SO_LINGERorg.apache.http.params.CoreConnectionPNames#SO_REUSEADDRorg.apache.http.params.CoreConnectionPNames#SOCKET_BUFFER_SIZEorg.apache.http.params.CoreConnectionPNames#CONNECTION_TIMEOUTorg.apache.http.params.CoreConnectionPNames#MAX_LINE_LENGTHorg.apache.http.params.CoreConnectionPNames#MAX_HEADER_COUNTorg.apache.http.params.CoreConnectionPNames#STALE_CONNECTION_CHECKConnRoutePNames.FORCED_ROUTEConnRoutePNames.LOCAL_ADDRESSConnRoutePNames.DEFAULT_PROXYCookieSpecPNames.DATE_PATTERNSCookieSpecPNames.SINGLE_COOKIE_HEADERAuthPNames.CREDENTIAL_CHARSETClientPNames.COOKIE_POLICYClientPNames.HANDLE_AUTHENTICATIONClientPNames.HANDLE_REDIRECTSClientPNames.MAX_REDIRECTSClientPNames.ALLOW_CIRCULAR_REDIRECTSClientPNames.VIRTUAL_HOSTClientPNames.DEFAULT_HOSTClientPNames.DEFAULT_HEADERSClientPNames.CONN_MANAGER_TIMEOUT| Constructor and Description |
|---|
SystemDefaultHttpClient()
Deprecated.
|
SystemDefaultHttpClient(HttpParams params)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected ClientConnectionManager |
createClientConnectionManager()
Deprecated.
|
protected ConnectionReuseStrategy |
createConnectionReuseStrategy()
Deprecated.
|
protected HttpRoutePlanner |
createHttpRoutePlanner()
Deprecated.
|
createHttpParams, createHttpProcessor, setDefaultHttpParamsaddRequestInterceptor, addRequestInterceptor, addResponseInterceptor, addResponseInterceptor, clearRequestInterceptors, clearResponseInterceptors, close, createAuthSchemeRegistry, createClientRequestDirector, createClientRequestDirector, createClientRequestDirector, createConnectionKeepAliveStrategy, createCookieSpecRegistry, createCookieStore, createCredentialsProvider, createHttpContext, createHttpRequestRetryHandler, createProxyAuthenticationHandler, createProxyAuthenticationStrategy, createRedirectHandler, createRequestExecutor, createTargetAuthenticationHandler, createTargetAuthenticationStrategy, createUserTokenHandler, determineParams, doExecute, getAuthSchemes, getBackoffManager, getConnectionBackoffStrategy, getConnectionKeepAliveStrategy, getConnectionManager, getConnectionReuseStrategy, getCookieSpecs, getCookieStore, getCredentialsProvider, getHttpProcessor, getHttpRequestRetryHandler, getParams, getProxyAuthenticationHandler, getProxyAuthenticationStrategy, getRedirectHandler, getRedirectStrategy, getRequestExecutor, getRequestInterceptor, getRequestInterceptorCount, getResponseInterceptor, getResponseInterceptorCount, getRoutePlanner, getTargetAuthenticationHandler, getTargetAuthenticationStrategy, getUserTokenHandler, removeRequestInterceptorByClass, removeResponseInterceptorByClass, setAuthSchemes, setBackoffManager, setConnectionBackoffStrategy, setCookieSpecs, setCookieStore, setCredentialsProvider, setHttpRequestRetryHandler, setKeepAliveStrategy, setParams, setProxyAuthenticationHandler, setProxyAuthenticationStrategy, setRedirectHandler, setRedirectStrategy, setReuseStrategy, setRoutePlanner, setTargetAuthenticationHandler, setTargetAuthenticationStrategy, setUserTokenHandlerpublic SystemDefaultHttpClient(HttpParams params)
public SystemDefaultHttpClient()
protected ClientConnectionManager createClientConnectionManager()
createClientConnectionManager in class AbstractHttpClientprotected HttpRoutePlanner createHttpRoutePlanner()
createHttpRoutePlanner in class AbstractHttpClientprotected ConnectionReuseStrategy createConnectionReuseStrategy()
createConnectionReuseStrategy in class AbstractHttpClient