|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.glassfish.jersey.apache.connector.ApacheClientProperties
public final class ApacheClientProperties
Configuration options specific to the Client API that utilizes ApacheConnectorProvider.
| Field Summary | |
|---|---|
static String |
CONNECTION_MANAGER
Connection Manager which will be used to create HttpClient. |
static String |
CREDENTIALS_PROVIDER
The credential provider that should be used to retrieve credentials from a user. |
static String |
DISABLE_COOKIES
A value of false indicates the client should handle cookies
automatically using HttpClient's default cookie policy. |
static String |
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 |
REQUEST_CONFIG
Request configuration for the HttpClient. |
static String |
SSL_CONFIG
Support for specifying SSL configuration for HTTPS connections. |
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String SSL_CONFIG
SslConfigurator.
A default value is not set.
The name of the configuration property is "jersey.config.apache.client.ssl.sslConfig".
public static final String CREDENTIALS_PROVIDER
CredentialsProvider.
If the property is absent a default provider will be used.
The name of the configuration property is "jersey.config.apache.client.credentialsProvider".
public static final String DISABLE_COOKIES
false indicates the client should handle cookies
automatically using HttpClient's default cookie policy. A value
of true will cause the client to ignore all cookies.
The value MUST be an instance of Boolean.
The default value is false.
The name of the configuration property is "jersey.config.apache.client.handleCookies".
public static final String PREEMPTIVE_BASIC_AUTHENTICATION
true indicates that a client should send an
authentication request even before the server gives a 401
response.
This property may only be set prior to constructing Apache connector using ApacheConnectorProvider.
Boolean.
The default value is false.
The name of the configuration property is "jersey.config.apache.client.preemptiveBasicAuthentication".
public static final String CONNECTION_MANAGER
HttpClient.
The value MUST be an instance of HttpClientConnectionManager.
If the property is absent a default Connection Manager will be used
(BasicHttpClientConnectionManager).
If you want to use this client in multi-threaded environment, be sure you override default value with
PoolingHttpClientConnectionManager instance.
The name of the configuration property is "jersey.config.apache.client.connectionManager".
public static final String REQUEST_CONFIG
HttpClient.
The value MUST be an instance of RequestConfig.
If the property is absent default request configuration will be used.
The name of the configuration property is "jersey.config.apache.client.requestConfig".
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||