public interface FeaturesAndProperties
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FEATURE_DISABLE_XML_SECURITY
If true XML security features when parsing XML documents will be
disabled.
|
static java.lang.String |
FEATURE_FORMATTED
If true then returned XML will be formatted.
|
static java.lang.String |
FEATURE_PRE_1_4_PROVIDER_PRECEDENCE
If true, provider precedence will work as it did prior Jersey version 1.4.
|
static java.lang.String |
FEATURE_XMLROOTELEMENT_PROCESSING
If true then XML root element tag name for lists
will be derived from @XmlRootElement annotation
and won't be decapitalized.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getFeature(java.lang.String featureName)
Get the value of a feature.
|
java.util.Map<java.lang.String,java.lang.Boolean> |
getFeatures()
Get the map of features associated with the client.
|
java.util.Map<java.lang.String,java.lang.Object> |
getProperties()
Get the map of properties associated with the client.
|
java.lang.Object |
getProperty(java.lang.String propertyName)
Get the value of a property.
|
static final java.lang.String FEATURE_DISABLE_XML_SECURITY
The default value is false.
static final java.lang.String FEATURE_FORMATTED
If true then an entity written by a MessageBodyWriter
may be formatted for the purposes of human readability if that
MessageBodyWriter
can support such formatting.
JAXB-based message body writers that produce XML documents support this property such that , if true, those XML documents will be formatted for human readability.
The default value is false.
static final java.lang.String FEATURE_XMLROOTELEMENT_PROCESSING
The default value is false.
static final java.lang.String FEATURE_PRE_1_4_PROVIDER_PRECEDENCE
The default value is false.
java.util.Map<java.lang.String,java.lang.Boolean> getFeatures()
boolean getFeature(java.lang.String featureName)
featureName
- the feature name.java.util.Map<java.lang.String,java.lang.Object> getProperties()
java.lang.Object getProperty(java.lang.String propertyName)
propertyName
- the property name.Copyright © 2016 Oracle Corporation. All Rights Reserved.