org.glassfish.jersey.jetty.connector
Class JettyClientProperties

java.lang.Object
  extended by org.glassfish.jersey.jetty.connector.JettyClientProperties

public final class JettyClientProperties
extends Object

Configuration options specific to the Client API that utilizes JettyConnectorProvider.

Author:
Arul Dhesiaseelan (aruld at acm.org)

Field Summary
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
          The credential provider that should be used to retrieve credentials from a user.
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

SSL_CONFIG

public static final String SSL_CONFIG
Support for specifying SSL configuration for HTTPS connections. Used only when making HTTPS requests.

The value MUST be an instance of SslConfigurator.

A default value is not set.

The name of the configuration property is "jersey.config.jetty.client.ssl.sslConfig".

See Also:
Constant Field Values

DISABLE_COOKIES

public static final String DISABLE_COOKIES
A value of 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

See Also:
Constant Field Values

PREEMPTIVE_BASIC_AUTHENTICATION

public static final String PREEMPTIVE_BASIC_AUTHENTICATION
The credential provider that should be used to retrieve credentials from a user. If an Authentication mechanism is found, it is then used for the given request, returning an Authentication.Result, which is then stored in the AuthenticationStore so that subsequent requests can be preemptively authenticated.

The value MUST be an instance of BasicAuthentication. If the property is absent a default provider will be used.

See Also:
Constant Field Values


Copyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.