Uses of Class
com.fasterxml.jackson.databind.cfg.ContextAttributes
-
Packages that use ContextAttributes Package Description com.fasterxml.jackson.databind Basic data binding (mapping) functionality that allows for reading JSON content into Java Objects (POJOs) and JSON Trees (JsonNode
), as well as writing Java Objects and trees as JSON.com.fasterxml.jackson.databind.cfg Package that contains most of configuration-related classes; exception being couple of most-commonly used configuration things (like Feature enumerations) that are at the main level (com.fasterxml.jackson.databind
). -
-
Uses of ContextAttributes in com.fasterxml.jackson.databind
Fields in com.fasterxml.jackson.databind declared as ContextAttributes Modifier and Type Field Description protected ContextAttributes
DeserializationContext. _attributes
Lazily-constructed holder for per-call attributes.protected ContextAttributes
SerializerProvider. _attributes
Lazily-constructed holder for per-call attributes.Methods in com.fasterxml.jackson.databind that return ContextAttributes Modifier and Type Method Description ContextAttributes
ObjectReader. getAttributes()
ContextAttributes
ObjectWriter. getAttributes()
Methods in com.fasterxml.jackson.databind with parameters of type ContextAttributes Modifier and Type Method Description ObjectReader
ObjectMapper. reader(ContextAttributes attrs)
Factory method for constructingObjectReader
that will use specified default attributes.DeserializationConfig
DeserializationConfig. with(ContextAttributes attrs)
ObjectReader
ObjectReader. with(ContextAttributes attrs)
ObjectWriter
ObjectWriter. with(ContextAttributes attrs)
SerializationConfig
SerializationConfig. with(ContextAttributes attrs)
ObjectWriter
ObjectMapper. writer(ContextAttributes attrs)
Factory method for constructingObjectWriter
that will use specified default attributes.Constructors in com.fasterxml.jackson.databind with parameters of type ContextAttributes Constructor Description DeserializationConfig(DeserializationConfig src, ContextAttributes attrs)
SerializationConfig(SerializationConfig src, ContextAttributes attrs)
-
Uses of ContextAttributes in com.fasterxml.jackson.databind.cfg
Subclasses of ContextAttributes in com.fasterxml.jackson.databind.cfg Modifier and Type Class Description static class
ContextAttributes.Impl
Fields in com.fasterxml.jackson.databind.cfg declared as ContextAttributes Modifier and Type Field Description protected ContextAttributes
MapperConfigBase. _attributes
Contextual attributes accessible (get and set) during processing, on per-call basis.Methods in com.fasterxml.jackson.databind.cfg that return ContextAttributes Modifier and Type Method Description abstract ContextAttributes
MapperConfig. getAttributes()
Method for accessing per-instance shared (baseline/default) attribute values; these are used as the basis for per-call attributes.ContextAttributes
MapperConfigBase. getAttributes()
static ContextAttributes
ContextAttributes. getEmpty()
static ContextAttributes
ContextAttributes.Impl. getEmpty()
protected ContextAttributes
ContextAttributes.Impl. nonSharedInstance(java.lang.Object key, java.lang.Object value)
Overridable method that creates initial non-shared instance, with the first explicit set value.ContextAttributes
ContextAttributes.Impl. withoutSharedAttribute(java.lang.Object key)
abstract ContextAttributes
ContextAttributes. withoutSharedAttribute(java.lang.Object key)
ContextAttributes
ContextAttributes.Impl. withPerCallAttribute(java.lang.Object key, java.lang.Object value)
abstract ContextAttributes
ContextAttributes. withPerCallAttribute(java.lang.Object key, java.lang.Object value)
Mutator used during call (via context) to set value of "non-shared" part of attribute set.ContextAttributes
ContextAttributes.Impl. withSharedAttribute(java.lang.Object key, java.lang.Object value)
abstract ContextAttributes
ContextAttributes. withSharedAttribute(java.lang.Object key, java.lang.Object value)
ContextAttributes
ContextAttributes.Impl. withSharedAttributes(java.util.Map<?,?> shared)
abstract ContextAttributes
ContextAttributes. withSharedAttributes(java.util.Map<?,?> attributes)
Methods in com.fasterxml.jackson.databind.cfg with parameters of type ContextAttributes Modifier and Type Method Description abstract T
MapperConfigBase. with(ContextAttributes attrs)
Method for constructing an instance that has specified contextual attributes.Constructors in com.fasterxml.jackson.databind.cfg with parameters of type ContextAttributes Constructor Description MapperConfigBase(MapperConfigBase<CFG,T> src, ContextAttributes attr)
-