Package | Description |
---|---|
org.glassfish.jersey.jackson.internal | |
org.glassfish.jersey.jackson.internal.jackson.jaxrs.base | |
org.glassfish.jersey.jackson.internal.jackson.jaxrs.cfg | |
org.glassfish.jersey.jackson.internal.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 |
---|---|
protected void |
JacksonMapperConfigurator._resolveIntrospector(Annotations ann,
ArrayList<com.fasterxml.jackson.databind.AnnotationIntrospector> intr) |
protected com.fasterxml.jackson.databind.AnnotationIntrospector |
JacksonMapperConfigurator._resolveIntrospectors(Annotations[] annotationsToUse) |
Constructor and Description |
---|
DefaultJacksonJaxbJsonProvider(Providers providers,
Configuration config,
Annotations... annotationsToUse) |
JacksonMapperConfigurator(com.fasterxml.jackson.databind.ObjectMapper mapper,
Annotations[] defAnnotations) |
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(org.glassfish.jersey.jackson.internal.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 com.fasterxml.jackson.databind.AnnotationIntrospector |
MapperConfiguratorBase._resolveIntrospectors(Annotations[] annotationsToUse) |
protected void |
MapperConfiguratorBase._setAnnotations(com.fasterxml.jackson.databind.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 com.fasterxml.jackson.databind.AnnotationIntrospector |
JsonMapperConfigurator._resolveIntrospector(Annotations ann) |
protected com.fasterxml.jackson.databind.AnnotationIntrospector |
JsonMapperConfigurator._resolveIntrospectors(Annotations[] annotationsToUse) |
Constructor and Description |
---|
JacksonJaxbJsonProvider(Annotations... annotationsToUse) |
JacksonJaxbJsonProvider(com.fasterxml.jackson.databind.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(com.fasterxml.jackson.databind.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(com.fasterxml.jackson.databind.ObjectMapper mapper,
Annotations[] defAnnotations) |
Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.