Package | Description |
---|---|
org.codehaus.jackson.jaxrs |
Jackson-based JAX-RS provider that can automatically
serialize and deserialize resources for
JSON content type (MediaType).
|
Modifier and Type | Field and Description |
---|---|
protected Annotations[] |
MapperConfigurator._defaultAnnotationsToUse
Annotations set to use by default; overridden by explicit call
to
MapperConfigurator.setAnnotationsToUse(org.codehaus.jackson.jaxrs.Annotations[]) |
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 |
---|---|
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 AnnotationIntrospector |
MapperConfigurator._resolveIntrospector(Annotations ann) |
protected AnnotationIntrospector |
MapperConfigurator._resolveIntrospectors(Annotations[] annotationsToUse) |
protected void |
MapperConfigurator._setAnnotations(ObjectMapper mapper,
Annotations[] annotationsToUse) |
void |
MapperConfigurator.setAnnotationsToUse(Annotations[] annotationsToUse) |
void |
JacksonJsonProvider.setAnnotationsToUse(Annotations[] annotationsToUse)
Method for configuring which annotation sets to use (including none).
|
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.
|
MapperConfigurator(ObjectMapper mapper,
Annotations[] defAnnotations) |