org.glassfish.jersey
Class CommonProperties

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

public final class CommonProperties
extends java.lang.Object

Common (server/client) Jersey configuration properties.

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

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

Field Detail

FEATURE_DISABLE_AUTO_DISCOVERY

public static final java.lang.String FEATURE_DISABLE_AUTO_DISCOVERY
If true then disable auto discovery 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

FEATURE_DISABLE_JSON_PROCESSING

public static final java.lang.String FEATURE_DISABLE_JSON_PROCESSING
If true then disable registration 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

CONTENT_LENGTH_BUFFER

public static final java.lang.String CONTENT_LENGTH_BUFFER
An integer value that defines the buffer size used to buffer the outbound response 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-2013 Oracle Corporation. All Rights Reserved. Use is subject to license terms.