public enum JaxRSFeature extends Enum<JaxRSFeature> implements com.fasterxml.jackson.databind.cfg.ConfigFeature
Enum Constant and Description |
---|
ADD_NO_SNIFF_HEADER
Feature that can be enabled to make provider automatically
add "nosniff" (see
this entry
for details
|
Modifier and Type | Method and Description |
---|---|
boolean |
enabledByDefault() |
int |
getMask() |
static JaxRSFeature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JaxRSFeature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JaxRSFeature ADD_NO_SNIFF_HEADER
Feature is disabled by default.
public static JaxRSFeature[] values()
for (JaxRSFeature c : JaxRSFeature.values()) System.out.println(c);
public static JaxRSFeature valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic boolean enabledByDefault()
enabledByDefault
in interface com.fasterxml.jackson.databind.cfg.ConfigFeature
public int getMask()
getMask
in interface com.fasterxml.jackson.databind.cfg.ConfigFeature
Copyright © 2012–2013 FasterXML. All rights reserved.