Package | Description |
---|---|
com.fasterxml.jackson.jaxrs.base | |
com.fasterxml.jackson.jaxrs.cfg | |
com.fasterxml.jackson.jaxrs.json |
Jackson-based JAX-RS provider that can automatically
serialize and deserialize resources for
JSON content type (MediaType).
|
Modifier and Type | Method and Description |
---|---|
void |
ProviderBase.setAnnotationsToUse(Annotations[] annotationsToUse)
Method for configuring which annotation sets to use (including none).
|
Modifier and Type | Field and Description |
---|---|
protected Annotations[] |
MapperConfiguratorBase._defaultAnnotationsToUse
Annotations set to use by default; overridden by explicit call
to
MapperConfiguratorBase.setAnnotationsToUse(com.fasterxml.jackson.jaxrs.cfg.Annotations[]) |
Modifier and Type | Method and Description |
---|---|
static Annotations |
Annotations.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Annotations[] |
Annotations.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
protected abstract AnnotationIntrospector |
MapperConfiguratorBase._resolveIntrospectors(Annotations[] annotationsToUse) |
protected void |
MapperConfiguratorBase._setAnnotations(ObjectMapper mapper,
Annotations[] annotationsToUse) |
void |
MapperConfiguratorBase.setAnnotationsToUse(Annotations[] annotationsToUse) |
Constructor and Description |
---|
MapperConfiguratorBase(MAPPER mapper,
Annotations[] defaultAnnotations) |
Modifier and Type | Field and Description |
---|---|
static Annotations[] |
JacksonJsonProvider.BASIC_ANNOTATIONS
Default annotation sets to use, if not explicitly defined during
construction: only Jackson annotations are used for the base
class.
|
static Annotations[] |
JacksonJaxbJsonProvider.DEFAULT_ANNOTATIONS
Default annotation sets to use, if not explicitly defined during
construction: use Jackson annotations if found; if not, use
JAXB annotations as fallback.
|
Modifier and Type | Method and Description |
---|---|
protected AnnotationIntrospector |
JsonMapperConfigurator._resolveIntrospector(Annotations ann) |
protected AnnotationIntrospector |
JsonMapperConfigurator._resolveIntrospectors(Annotations[] annotationsToUse) |
Constructor and Description |
---|
JacksonJaxbJsonProvider(Annotations... annotationsToUse) |
JacksonJaxbJsonProvider(ObjectMapper mapper,
Annotations[] annotationsToUse)
Constructor to use when a custom mapper (usually components
like serializer/deserializer factories that have been configured)
is to be used.
|
JacksonJsonProvider(Annotations... annotationsToUse) |
JacksonJsonProvider(ObjectMapper mapper,
Annotations[] annotationsToUse)
Constructor to use when a custom mapper (usually components
like serializer/deserializer factories that have been configured)
is to be used.
|
JsonMapperConfigurator(ObjectMapper mapper,
Annotations[] defAnnotations) |
Copyright © 2021 JBoss by Red Hat. All rights reserved.