| Modifier and Type | Field and Description |
|---|---|
| protected final AccessorNamingStrategy. | _accessorNaming
Provider for creating |
| protected final AnnotationIntrospector | _annotationIntrospector
Introspector used for accessing annotation value based configuration. |
| protected final CacheProvider | _cacheProvider
Used to provide custom cache implementation in downstream components. |
| protected final ClassIntrospector | _classIntrospector
Introspector used to figure out Bean properties needed for bean serialization and deserialization. |
| protected final DateFormat | _dateFormat
Custom date format to use for deserialization. |
| protected final Base64Variant | _defaultBase64
Explicitly default |
| protected final HandlerInstantiator | _handlerInstantiator
Object used for creating instances of handlers (serializers, deserializers, type and type id resolvers), given class to instantiate. |
| protected final Locale | _locale
Default |
| protected final PropertyNamingStrategy | _propertyNamingStrategy
Custom property naming strategy in use, if any. |
| protected final TimeZone | _timeZone
Default |
| protected final TypeFactory | _typeFactory
Specific factory used for creating |
| protected final TypeResolverBuilder | _typeResolverBuilder
Builder used to create type resolver for serializing and deserializing values for which polymorphic type handling is needed. |
| protected final PolymorphicTypeValidator | _typeValidator
Validator that is used to limit allowed polymorphic subtypes, mostly for security reasons when dealing with untrusted content. |
| private static final TimeZone | DEFAULT_TIMEZONE
We will use a default TimeZone as the baseline. |
| private static final long |
| Modifier and Type | Method and Description |
|---|---|
| private DateFormat | |
| public BaseSettings | copy()
Turns out we are not necessarily 100% stateless, alas, since |
| public AccessorNamingStrategy. | |
| public AnnotationIntrospector | |
| public Base64Variant | |
| public CacheProvider | |
| public ClassIntrospector | |
| public DateFormat | |
| public HandlerInstantiator | |
| public Locale | |
| public PolymorphicTypeValidator | |
| public PropertyNamingStrategy | |
| public TimeZone | |
| public TypeFactory | |
| public TypeResolverBuilder | |
| public boolean | hasExplicitTimeZone()
Accessor that may be called to determine whether this settings object has been explicitly configured with a TimeZone (true), or is still relying on the default settings (false). |
| public BaseSettings | |
| public BaseSettings | |
| public BaseSettings | |
| public BaseSettings | |
| public BaseSettings | Returns: a new instance with providedCacheProvider.Fluent factory for constructing a new instance with provided |
| public BaseSettings | |
| public BaseSettings | |
| public BaseSettings | |
| public BaseSettings | |
| public BaseSettings | |
| public BaseSettings | |
| public BaseSettings | |
| public BaseSettings | |
| public BaseSettings | |
| public BaseSettings |
| _accessorNaming | back to summary |
|---|---|
| protected final AccessorNamingStrategy. Provider for creating
| |
| _annotationIntrospector | back to summary |
|---|---|
| protected final AnnotationIntrospector _annotationIntrospector Introspector used for accessing annotation value based configuration. | |
| _cacheProvider | back to summary |
|---|---|
| protected final CacheProvider _cacheProvider Used to provide custom cache implementation in downstream components.
| |
| _classIntrospector | back to summary |
|---|---|
| protected final ClassIntrospector _classIntrospector Introspector used to figure out Bean properties needed for bean serialization and deserialization. Overridable so that it is possible to change low-level details of introspection, like adding new annotation types. | |
| _dateFormat | back to summary |
|---|---|
| protected final DateFormat _dateFormat Custom date format to use for deserialization. If specified, will be
used instead of Note that the configured format object will be cloned once per deserialization process (first time it is needed) | |
| _defaultBase64 | back to summary |
|---|---|
| protected final Base64Variant _defaultBase64 Explicitly default
| |
| _handlerInstantiator | back to summary |
|---|---|
| protected final HandlerInstantiator _handlerInstantiator Object used for creating instances of handlers (serializers, deserializers, type and type id resolvers), given class to instantiate. This is typically used to do additional configuration (with dependency injection, for example) beyond simply construction of instances; or to use alternative constructors. | |
| _locale | back to summary |
|---|---|
| protected final Locale _locale Default | |
| _propertyNamingStrategy | back to summary |
|---|---|
| protected final PropertyNamingStrategy _propertyNamingStrategy Custom property naming strategy in use, if any. | |
| _timeZone | back to summary |
|---|---|
| protected final TimeZone _timeZone Default
Note that if a new value is set, timezone is also assigned to
| |
| _typeFactory | back to summary |
|---|---|
| protected final TypeFactory _typeFactory Specific factory used for creating | |
| _typeResolverBuilder | back to summary |
|---|---|
| protected final TypeResolverBuilder<?> _typeResolverBuilder Builder used to create type resolver for serializing and deserializing values for which polymorphic type handling is needed. | |
| _typeValidator | back to summary |
|---|---|
| protected final PolymorphicTypeValidator _typeValidator Validator that is used to limit allowed polymorphic subtypes, mostly for security reasons when dealing with untrusted content.
| |
| DEFAULT_TIMEZONE | back to summary |
|---|---|
| private static final TimeZone DEFAULT_TIMEZONE We will use a default TimeZone as the baseline. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| BaseSettings | back to summary |
|---|---|
public BaseSettings(ClassIntrospector ci, AnnotationIntrospector ai, PropertyNamingStrategy pns, TypeFactory tf, TypeResolverBuilder<?> typer, DateFormat dateFormat, HandlerInstantiator hi, Locale locale, TimeZone tz, Base64Variant defaultBase64, PolymorphicTypeValidator ptv, AccessorNamingStrategy.
| |
| BaseSettings | back to summary |
|---|---|
| public BaseSettings(ClassIntrospector ci, AnnotationIntrospector ai, PropertyNamingStrategy pns, TypeFactory tf, TypeResolverBuilder<?> typer, DateFormat dateFormat, HandlerInstantiator hi, Locale locale, TimeZone tz, Base64Variant defaultBase64, PolymorphicTypeValidator ptv, AccessorNamingStrategy. Deprecated Since 2.16, use variant that takes
| |
| BaseSettings | back to summary |
|---|---|
| public BaseSettings(ClassIntrospector ci, AnnotationIntrospector ai, PropertyNamingStrategy pns, TypeFactory tf, TypeResolverBuilder<?> typer, DateFormat dateFormat, HandlerInstantiator hi, Locale locale, TimeZone tz, Base64Variant defaultBase64, PolymorphicTypeValidator ptv)
Deprecated
| |
| _force | back to summary |
|---|---|
| private DateFormat _force(DateFormat df, TimeZone tz) | |
| copy | back to summary |
|---|---|
| public BaseSettings copy() Turns out we are not necessarily 100% stateless, alas, since
| |
| getAccessorNaming | back to summary |
|---|---|
| public AccessorNamingStrategy. | |
| getAnnotationIntrospector | back to summary |
|---|---|
| public AnnotationIntrospector getAnnotationIntrospector() | |
| getBase64Variant | back to summary |
|---|---|
| public Base64Variant getBase64Variant() | |
| getCacheProvider | back to summary |
|---|---|
public CacheProvider getCacheProvider()
| |
| getClassIntrospector | back to summary |
|---|---|
| public ClassIntrospector getClassIntrospector() | |
| getDateFormat | back to summary |
|---|---|
| public DateFormat getDateFormat() | |
| getHandlerInstantiator | back to summary |
|---|---|
| public HandlerInstantiator getHandlerInstantiator() | |
| getLocale | back to summary |
|---|---|
| public Locale getLocale() | |
| getPolymorphicTypeValidator | back to summary |
|---|---|
public PolymorphicTypeValidator getPolymorphicTypeValidator()
| |
| getPropertyNamingStrategy | back to summary |
|---|---|
| public PropertyNamingStrategy getPropertyNamingStrategy() | |
| getTimeZone | back to summary |
|---|---|
| public TimeZone getTimeZone() | |
| getTypeFactory | back to summary |
|---|---|
| public TypeFactory getTypeFactory() | |
| getTypeResolverBuilder | back to summary |
|---|---|
| public TypeResolverBuilder | |
| hasExplicitTimeZone | back to summary |
|---|---|
| public boolean hasExplicitTimeZone() Accessor that may be called to determine whether this settings object has been explicitly configured with a TimeZone (true), or is still relying on the default settings (false).
| |
| with | back to summary |
|---|---|
| public BaseSettings with(Locale l) | |
| with | back to summary |
|---|---|
| public BaseSettings with(TimeZone tz) Fluent factory for constructing a new instance that uses specified TimeZone.
Note that timezone used with also be assigned to configured | |
| with | back to summary |
|---|---|
public BaseSettings with(Base64Variant base64)
| |
| with | back to summary |
|---|---|
public BaseSettings with(PolymorphicTypeValidator v)
| |
| with | back to summary |
|---|---|
| public BaseSettings with(CacheProvider cacheProvider) Fluent factory for constructing a new instance with provided
| |
| withAccessorNaming | back to summary |
|---|---|
| public BaseSettings withAccessorNaming(AccessorNamingStrategy. | |
| withAnnotationIntrospector | back to summary |
|---|---|
| public BaseSettings withAnnotationIntrospector(AnnotationIntrospector ai) | |
| withAppendedAnnotationIntrospector | back to summary |
|---|---|
| public BaseSettings withAppendedAnnotationIntrospector(AnnotationIntrospector ai) | |
| withClassIntrospector | back to summary |
|---|---|
| public BaseSettings withClassIntrospector(ClassIntrospector ci) | |
| withDateFormat | back to summary |
|---|---|
| public BaseSettings withDateFormat(DateFormat df) | |
| withHandlerInstantiator | back to summary |
|---|---|
| public BaseSettings withHandlerInstantiator(HandlerInstantiator hi) | |
| withInsertedAnnotationIntrospector | back to summary |
|---|---|
| public BaseSettings withInsertedAnnotationIntrospector(AnnotationIntrospector ai) | |
| withPropertyNamingStrategy | back to summary |
|---|---|
| public BaseSettings withPropertyNamingStrategy(PropertyNamingStrategy pns) | |
| withTypeFactory | back to summary |
|---|---|
| public BaseSettings withTypeFactory(TypeFactory tf) | |
| withTypeResolverBuilder | back to summary |
|---|---|
| public BaseSettings withTypeResolverBuilder(TypeResolverBuilder<?> typer) | |