public final class JettyClientProperties extends Object
JettyConnectorProvider
.Modifier and Type | Field and Description |
---|---|
static String |
DISABLE_COOKIES
A value of
false indicates the client should handle cookies
automatically using HttpClient's default cookie policy. |
static String |
ENABLE_SSL_HOSTNAME_VERIFICATION
A value of
false indicates the client disable a hostname verification
during SSL Handshake. |
static String |
PREEMPTIVE_BASIC_AUTHENTICATION
The credential provider that should be used to retrieve
credentials from a user.
|
static String |
SYNC_LISTENER_RESPONSE_MAX_SIZE
Overrides the default Jetty synchronous listener response max buffer size.
|
Modifier and Type | Method and Description |
---|---|
static <T> T |
getValue(Map<String,?> properties,
String key,
Class<T> type)
Get the value of the specified property.
|
public static final String DISABLE_COOKIES
false
indicates the client should handle cookies
automatically using HttpClient's default cookie policy. A value
of false
will cause the client to ignore all cookies.
The value MUST be an instance of Boolean
.
If the property is absent the default value is false
public static final String PREEMPTIVE_BASIC_AUTHENTICATION
org.eclipse.jetty.client.api.Authentication
mechanism is found,
it is then used for the given request, returning an org.eclipse.jetty.client.api.Authentication.Result
,
which is then stored in the AuthenticationStore
so that subsequent requests can be preemptively authenticated.
The value MUST be an instance of org.eclipse.jetty.client.util.BasicAuthentication
. If
the property is absent a default provider will be used.public static final String ENABLE_SSL_HOSTNAME_VERIFICATION
false
indicates the client disable a hostname verification
during SSL Handshake. A client will ignore CN value defined in a certificate
that is stored in a truststore.
The value MUST be an instance of Boolean
.
If the property is absent the default value is true
.public static final String SYNC_LISTENER_RESPONSE_MAX_SIZE
public static <T> T getValue(Map<String,?> properties, String key, Class<T> type)
null
.T
- Type of the property value.properties
- Map of properties to get the property value from.key
- Name of the property.type
- Type to retrieve the value as.null
.Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.