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 ContextAttributesDeserializationContext. _attributesLazily-constructed holder for per-call attributes.protected ContextAttributesSerializerProvider. _attributesLazily-constructed holder for per-call attributes.Methods in com.fasterxml.jackson.databind that return ContextAttributes Modifier and Type Method Description ContextAttributesObjectReader. getAttributes()ContextAttributesObjectWriter. getAttributes()Methods in com.fasterxml.jackson.databind with parameters of type ContextAttributes Modifier and Type Method Description ObjectReaderObjectMapper. reader(ContextAttributes attrs)Factory method for constructingObjectReaderthat will use specified default attributes.DeserializationConfigDeserializationConfig. with(ContextAttributes attrs)ObjectReaderObjectReader. with(ContextAttributes attrs)ObjectWriterObjectWriter. with(ContextAttributes attrs)SerializationConfigSerializationConfig. with(ContextAttributes attrs)ObjectWriterObjectMapper. writer(ContextAttributes attrs)Factory method for constructingObjectWriterthat 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 classContextAttributes.ImplFields in com.fasterxml.jackson.databind.cfg declared as ContextAttributes Modifier and Type Field Description protected ContextAttributesMapperConfigBase. _attributesContextual 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 ContextAttributesMapperConfig. getAttributes()Method for accessing per-instance shared (baseline/default) attribute values; these are used as the basis for per-call attributes.ContextAttributesMapperConfigBase. getAttributes()static ContextAttributesContextAttributes. getEmpty()static ContextAttributesContextAttributes.Impl. getEmpty()protected ContextAttributesContextAttributes.Impl. nonSharedInstance(Object key, Object value)Overridable method that creates initial non-shared instance, with the first explicit set value.ContextAttributesContextAttributes.Impl. withoutSharedAttribute(Object key)abstract ContextAttributesContextAttributes. withoutSharedAttribute(Object key)ContextAttributesContextAttributes.Impl. withPerCallAttribute(Object key, Object value)abstract ContextAttributesContextAttributes. withPerCallAttribute(Object key, Object value)Mutator used during call (via context) to set value of "non-shared" part of attribute set.ContextAttributesContextAttributes.Impl. withSharedAttribute(Object key, Object value)abstract ContextAttributesContextAttributes. withSharedAttribute(Object key, Object value)ContextAttributesContextAttributes.Impl. withSharedAttributes(Map<?,?> shared)abstract ContextAttributesContextAttributes. withSharedAttributes(Map<?,?> attributes)Methods in com.fasterxml.jackson.databind.cfg with parameters of type ContextAttributes Modifier and Type Method Description abstract TMapperConfigBase. 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)
-