Class JavaNetHttpClientProperties
JavaNetHttpConnector
.- Author:
- Steffen Nießing
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Configuration of theCookieHandler
that should be used by theHttpClient
.static final String
A value offalse
indicates the client should handle cookies automatically using HttpClient's default cookie policy.static final String
HTTP version - if null or instance of HttpClient.Version.HTTP_1_1 the version will be set to HTTP_1_1 if version is HttpClient.Version.HTTP_2 the client will attempt to perform each request using HTTP_2 protocol but if not supported by server, the protocol will be still HTTP_1_1static final String
An instance of theAuthenticator
class that should be used to retrieve credentials from a user.static final String
Configuration of SSL parameters used by theHttpClient
. -
Method Summary
-
Field Details
-
COOKIE_HANDLER
Configuration of the
CookieHandler
that should be used by theHttpClient
. If this option is not set,HttpClient.cookieHandler()
will return an emptyOptional
and 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:
-
SSL_PARAMETERS
Configuration of SSL parameters used by the
HttpClient
. If this option is not set, then theHttpClient
will 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:
-
PREEMPTIVE_BASIC_AUTHENTICATION
An instance of the
Authenticator
class that should be used to retrieve credentials from a user.The name of the configuration property is "jersey.config.jnh.client.preemptiveBasicAuthentication".
- See Also:
-
DISABLE_COOKIES
A value of
false
indicates the client should handle cookies automatically using HttpClient's default cookie policy. A value offalse
will cause the client to ignore all cookies.The value MUST be an instance of
Boolean
. If the property is absent the default value isfalse
The name of the configuration property is "jersey.config.jnh.client.disableCookies".
- See Also:
-
HTTP_VERSION
HTTP version - if null or instance of HttpClient.Version.HTTP_1_1 the version will be set to HTTP_1_1 if version is HttpClient.Version.HTTP_2 the client will attempt to perform each request using HTTP_2 protocol but if not supported by server, the protocol will be still HTTP_1_1- Since:
- 3.1.4
- See Also:
-