public interface ApacheHttpClient4Config extends ClientConfig
ApacheHttpClient4 or ApacheHttpClient4Handler.| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_CONNECTION_MANAGER
Connection Manager which will be used to create
HttpClient. |
static String |
PROPERTY_CREDENTIALS_PROVIDER
The credential provider that should be used to retrieve
credentials from a user.
|
static String |
PROPERTY_DISABLE_COOKIES
A value of "false" indicates the client should handle cookies
automatically using HttpClient's default cookie policy.
|
static String |
PROPERTY_HTTP_PARAMS
Http parameters which will be used to create
HttpClient. |
static String |
PROPERTY_PREEMPTIVE_BASIC_AUTHENTICATION
A value of "true" indicates that a client should send an
authentication request even before the server gives a 401
response.
|
static String |
PROPERTY_PROXY_PASSWORD
Password which will be used for proxy authentication.
|
static String |
PROPERTY_PROXY_URI
A value of a URI to configure the proxy host and proxy port to proxy
HTTP requests and responses.
|
static String |
PROPERTY_PROXY_USERNAME
User name which will be used for proxy authentication.
|
PROPERTY_BUFFER_RESPONSE_ENTITY_ON_EXCEPTION, PROPERTY_CHUNKED_ENCODING_SIZE, PROPERTY_CONNECT_TIMEOUT, PROPERTY_FOLLOW_REDIRECTS, PROPERTY_READ_TIMEOUT, PROPERTY_THREADPOOL_SIZEFEATURE_DISABLE_XML_SECURITY, FEATURE_FORMATTED, FEATURE_PRE_1_4_PROVIDER_PRECEDENCE, FEATURE_XMLROOTELEMENT_PROCESSINGgetClasses, getPropertyAsFeature, getSingletonsgetFeature, getFeatures, getProperties, getPropertystatic final String PROPERTY_DISABLE_COOKIES
Boolean.
If the property is absent the default value is "false"static final String PROPERTY_CREDENTIALS_PROVIDER
CredentialsProvider. If
the property is absent a default provider will be used.static final String PROPERTY_PREEMPTIVE_BASIC_AUTHENTICATION
ApacheHttpClient4
instance.
The value MUST be an instance of Boolean.
If the property is absent the default value is "false"static final String PROPERTY_CONNECTION_MANAGER
HttpClient.
The value MUST be an instance of ClientConnectionManager.
If the property is absent a default Connection Manager will be used (org.apache.http.impl.conn.SingleClientConnManager).
If you want to use this client in multi-threaded environment, be sure you override
default value with org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager instance.static final String PROPERTY_HTTP_PARAMS
HttpClient.
The value MUST be an instance of HttpParams.
If the property is absent default http parameters will be used.static final String PROPERTY_PROXY_URI
String or URI.
If the property absent then no proxy will be utilized.static final String PROPERTY_PROXY_USERNAME
String.
If the property absent then no proxy authentication will be utilized.static final String PROPERTY_PROXY_PASSWORD
String.
If the property absent then no proxy authentication will be utilized.Copyright © 2014 Oracle Corporation. All rights reserved.