| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| public static final JakartaRSFeature | ADD_NO_SNIFF_HEADER
Feature that can be enabled to make provider automatically add "nosniff" (see this entry for details Feature is disabled by default. |
| public static final JakartaRSFeature | ALLOW_EMPTY_INPUT
Feature to define whether empty input is considered legal or not. |
| public static final JakartaRSFeature | CACHE_ENDPOINT_READERS
Feature that determines whether provider will cache endpoint
definitions for reading or not (including caching of actual |
| public static final JakartaRSFeature | CACHE_ENDPOINT_WRITERS
Feature that determines whether provider will cache endpoint
definitions for writing or not (including caching of actual |
| public static final JakartaRSFeature | DYNAMIC_OBJECT_MAPPER_LOOKUP
Feature that may be enabled to force dynamic lookup of |
| public static final JakartaRSFeature | READ_FULL_STREAM
For HTTP keep-alive or multipart content to work correctly, Jackson must read the entire HTTP input stream up until reading EOF (-1). |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static int | |
| public boolean | enabledByDefault()
Implements com. Accessor for checking whether this feature is enabled by default. |
| public boolean | enabledIn(int flags)
Implements com. Convenience method for checking whether feature is enabled in given bitmask |
| public int | getMask()
Implements com. Returns bit mask for this feature instance |
| public static JakartaRSFeature | |
| public static JakartaRSFeature[] |
| _defaultState | back to summary |
|---|---|
| private final boolean _defaultState | |
| ADD_NO_SNIFF_HEADER | back to summary |
|---|---|
| public static final JakartaRSFeature ADD_NO_SNIFF_HEADER Feature that can be enabled to make provider automatically add "nosniff" (see this entry for details Feature is disabled by default. | |
| ALLOW_EMPTY_INPUT | back to summary |
|---|---|
| public static final JakartaRSFeature ALLOW_EMPTY_INPUT Feature to define whether empty input is considered legal or not.
If set to true, empty content is allowed and will be read as Java 'null': if false,
an Note in case of Jakarta-RS 2.0, specific exception will be | |
| CACHE_ENDPOINT_READERS | back to summary |
|---|---|
| public static final JakartaRSFeature CACHE_ENDPOINT_READERS Feature that determines whether provider will cache endpoint
definitions for reading or not (including caching of actual Note that disabling of the feature may add significant amount of overhead for processing. Feature is enabled by default. | |
| CACHE_ENDPOINT_WRITERS | back to summary |
|---|---|
| public static final JakartaRSFeature CACHE_ENDPOINT_WRITERS Feature that determines whether provider will cache endpoint
definitions for writing or not (including caching of actual Note that disabling of the feature may add significant amount of overhead for processing. Feature is enabled by default. | |
| DYNAMIC_OBJECT_MAPPER_LOOKUP | back to summary |
|---|---|
| public static final JakartaRSFeature DYNAMIC_OBJECT_MAPPER_LOOKUP Feature that may be enabled to force dynamic lookup of Feature is disabled by default. | |
| READ_FULL_STREAM | back to summary |
|---|---|
| public static final JakartaRSFeature READ_FULL_STREAM For HTTP keep-alive or multipart content to work correctly, Jackson must read the entire HTTP input stream up until reading EOF (-1). Issue #108 If set to true, always consume all input content. This has a side-effect of failing on trailing content. Feature is enabled by default. Note that this means that behavior in earlier versions (2.14 and before) differs from 2.15 and later.
| |
| JakartaRSFeature | back to summary |
|---|---|
| private JakartaRSFeature(boolean defaultState) | |
| collectDefaults | back to summary |
|---|---|
| public static int collectDefaults() | |
| enabledByDefault | back to summary |
|---|---|
| public boolean enabledByDefault() Implements com. Doc from com. Accessor for checking whether this feature is enabled by default.
| |
| enabledIn | back to summary |
|---|---|
| public boolean enabledIn(int flags) Implements com. Doc from com. Convenience method for checking whether feature is enabled in given bitmask
| |
| getMask | back to summary |
|---|---|
| public int getMask() Implements com. Doc from com. Returns bit mask for this feature instance
| |
| valueOf | back to summary |
|---|---|
| public static JakartaRSFeature valueOf(String name) | |
| values | back to summary |
|---|---|
| public static JakartaRSFeature[] values() | |