Download Jersey 2.1 User Guide
Transcript
Appendix A. Configuration Properties A.1. Common (client/server) configuration properties List of common configuration properties that can be found in CommonProperties [http://jersey.java.net/ nonav/apidocs/snapshot/jersey/org/glassfish/jersey/CommonProperties.html] class. All of these properties can be overridden by their server/client counterparts. Table A.1. List of common configuration properties Constant Value Description CommonProperties.FEATURE_AUTO_DISCOVERY_DISABLE jersey.config.disableAutoDiscovery Disables feature auto discovery [http://jersey.java.net/nonav/ globally on client/server. Default apidocs/snapshot/jersey/org/ value is false. glassfish/jersey/ CommonProperties.html#FEATURE_AUTO_DISCOVERY_DISABLE] CommonProperties.JSON_PROCESSING_FEATURE_DISABLE jersey.config.disableJsonProcessing Disables configuration of Json [http://jersey.java.net/nonav/ Processing (JSR-353) feature. apidocs/snapshot/jersey/org/ Default value is false. glassfish/jersey/ CommonProperties.html#JSON_PROCESSING_FEATURE_DISABLE] CommonProperties.METAINF_SERVICES_LOOKUP_DISABLE jersey.config.disableMetainfServicesLookup Disables META-INF/services [http://jersey.java.net/nonav/ lookup globally on client/server. apidocs/snapshot/jersey/org/ Default value is false. glassfish/jersey/ CommonProperties.html#METAINF_SERVICES_LOOKUP_DISABLE] CommonProperties.MOXY_JSON_FEATURE_DISABLE jersey.config.disableMoxyJson Disables configuration of MOXy [http://jersey.java.net/nonav/ Json feature. Default value is apidocs/snapshot/jersey/org/ false. glassfish/jersey/ CommonProperties.html#MOXY_JSON_FEATURE_DISABLE] CommonProperties.OUTBOUND_CONTENT_LENGTH_BUFFER jersey.config.contentLength.buffer An integer value that defines the [http://jersey.java.net/nonav/ buffer size used to buffer the apidocs/snapshot/jersey/org/ outbound message entity in order glassfish/jersey/ to determine its size and set CommonProperties.html#OUTBOUND_CONTENT_LENGTH_BUFFER] the value of HTTP ContentLength header. Default value is 8192. A.2. Server configuration properties List of server configuration properties that can be found in ServerProperties [http://jersey.java.net/nonav/ apidocs/snapshot/jersey/org/glassfish/jersey/server/ServerProperties.html] class. 194