程序包 | 说明 |
---|---|
org.codehaus.jackson.jaxrs |
Jackson-based JAX-RS provider that can automatically
serialize and deserialize resources for
JSON content type (MediaType).
|
限定符和类型 | 字段和说明 |
---|---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
static Annotations |
Annotations.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static Annotations[] |
Annotations.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
限定符和类型 | 方法和说明 |
---|---|
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).
|
构造器和说明 |
---|
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) |