org.glassfish.jersey
Class CommonProperties

java.lang.Object
  extended by org.glassfish.jersey.CommonProperties

public final class CommonProperties
extends Object

Common (server/client) Jersey configuration properties.

Author:
Michal Gajdos (michal.gajdos at oracle.com)

Field Summary
static String FEATURE_AUTO_DISCOVERY_DISABLE
          If true then disable feature auto discovery globally on client/server.
static String JSON_PROCESSING_FEATURE_DISABLE
          If true then disable configuration of Json Processing (JSR-353) feature.
static String MOXY_JSON_FEATURE_DISABLE
          If true then disable configuration of MOXy Json feature.
static String OUTBOUND_CONTENT_LENGTH_BUFFER
          An integer value that defines the buffer size used to buffer the outbound message entity in order to determine its size and set the value of HTTP "Content-Length" header.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FEATURE_AUTO_DISCOVERY_DISABLE

public static final String FEATURE_AUTO_DISCOVERY_DISABLE
If true then disable feature auto discovery globally on client/server.

By default auto discovery is automatically enabled. The value of this property may be overridden by the client/server variant of this property.

The default value is false.

The name of the configuration property is "jersey.config.disableAutoDiscovery".

See Also:
Constant Field Values

JSON_PROCESSING_FEATURE_DISABLE

public static final String JSON_PROCESSING_FEATURE_DISABLE
If true then disable configuration of Json Processing (JSR-353) feature.

By default Json Processing is automatically enabled. The value of this property may be overridden by the client/server variant of this property.

The default value is false.

The name of the configuration property is "jersey.config.disableJsonProcessing".

See Also:
Constant Field Values

MOXY_JSON_FEATURE_DISABLE

public static final String MOXY_JSON_FEATURE_DISABLE
If true then disable configuration of MOXy Json feature.

By default MOXy Json is automatically enabled. The value of this property may be overridden by the client/server variant of this property.

The default value is false.

The name of the configuration property is "jersey.config.disableMoxyJson".

See Also:
Constant Field Values

OUTBOUND_CONTENT_LENGTH_BUFFER

public static final String OUTBOUND_CONTENT_LENGTH_BUFFER
An integer value that defines the buffer size used to buffer the outbound message entity in order to determine its size and set the value of HTTP "Content-Length" header.

If the entity size exceeds the configured buffer size, the buffering would be cancelled and the entity size would not be determined. Value less or equal to zero disable the buffering of the entity at all.

The value of this property may be overridden by the client/server variant of this property by defining the suffix to this property ".server" or ".client" ("jersey.config.contentLength.buffer".server or "jersey.config.contentLength.buffer".client).

The default value is .

The name of the configuration property is "jersey.config.contentLength.buffer".

See Also:
Constant Field Values


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