public interface FeaturesAndProperties
Modifier and Type | Field and Description |
---|---|
static String |
FEATURE_DISABLE_XML_SECURITY
If true XML security features when parsing XML documents will be
disabled.
|
static String |
FEATURE_FORMATTED
If true then returned XML will be formatted.
|
static String |
FEATURE_PRE_1_4_PROVIDER_PRECEDENCE
If true, provider precedence will work as it did prior Jersey version 1.4.
|
static 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(String featureName)
Get the value of a feature.
|
Map<String,Boolean> |
getFeatures()
Get the map of features associated with the client.
|
Map<String,Object> |
getProperties()
Get the map of properties associated with the client.
|
Object |
getProperty(String propertyName)
Get the value of a property.
|
static final String FEATURE_DISABLE_XML_SECURITY
The default value is false.
static final 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 String FEATURE_XMLROOTELEMENT_PROCESSING
The default value is false.
static final String FEATURE_PRE_1_4_PROVIDER_PRECEDENCE
The default value is false.
Map<String,Boolean> getFeatures()
boolean getFeature(String featureName)
featureName
- the feature name.Map<String,Object> getProperties()
Copyright © 2013 Oracle Corporation. All rights reserved.