Class JavaNetHttpClientProperties
- java.lang.Object
-
- org.glassfish.jersey.jnh.connector.JavaNetHttpClientProperties
-
public class JavaNetHttpClientProperties extends Object
Provides configuration properties for aJavaNetHttpConnector.- Author:
- Steffen Nießing
-
-
Field Summary
Fields Modifier and Type Field Description static StringCOOKIE_HANDLERConfiguration of theCookieHandlerthat should be used by theHttpClient.static StringDISABLE_COOKIESA value offalseindicates the client should handle cookies automatically using HttpClient's default cookie policy.static StringPREEMPTIVE_BASIC_AUTHENTICATIONAn instance of theAuthenticatorclass that should be used to retrieve credentials from a user.static StringSSL_PARAMETERSConfiguration of SSL parameters used by theHttpClient.
-
-
-
Field Detail
-
COOKIE_HANDLER
public static final String COOKIE_HANDLER
Configuration of the
CookieHandlerthat should be used by theHttpClient. If this option is not set,HttpClient.cookieHandler()will return an emptyOptionaland therefore no cookie handler will be used.A provided value to this option has to be of type
CookieHandler.The name of the configuration property is "jersey.config.jnh.client.cookieHandler".
- See Also:
- Constant Field Values
-
SSL_PARAMETERS
public static final String SSL_PARAMETERS
Configuration of SSL parameters used by the
HttpClient. If this option is not set, then theHttpClientwill useimplementation specific default values.A provided value to this option has to be of type
SSLParameters.The name of the configuration property is "jersey.config.jnh.client.sslParameters".
- See Also:
- Constant Field Values
-
PREEMPTIVE_BASIC_AUTHENTICATION
public static final String PREEMPTIVE_BASIC_AUTHENTICATION
An instance of the
Authenticatorclass that should be used to retrieve credentials from a user.The name of the configuration property is "jersey.config.jnh.client.preemptiveBasicAuthentication".
- See Also:
- Constant Field Values
-
DISABLE_COOKIES
public static final String DISABLE_COOKIES
A value of
falseindicates the client should handle cookies automatically using HttpClient's default cookie policy. A value offalsewill cause the client to ignore all cookies.The value MUST be an instance of
Boolean. If the property is absent the default value isfalseThe name of the configuration property is "jersey.config.jnh.client.disableCookies".
- See Also:
- Constant Field Values
-
-