## 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 and Description
    --- | ---
    `protected ContextAttributes` | SerializerProvider.`_attributes` Lazily-constructed holder for per-call attributes.
    `protected ContextAttributes` | DeserializationContext.`_attributes` Lazily-constructed holder for per-call attributes.

    Methods in com.fasterxml.jackson.databind that return ContextAttributes
    Modifier and Type | Method and Description
    --- | ---
    `ContextAttributes` | ObjectWriter.`getAttributes()`
    `ContextAttributes` | ObjectReader.`getAttributes()`

    Methods in com.fasterxml.jackson.databind with parameters of type ContextAttributes
    Modifier and Type | Method and Description
    --- | ---
    `ObjectReader` | ObjectMapper.`reader(ContextAttributes attrs)` Factory method for constructing `ObjectReader` that will use specified default attributes.
    `ObjectWriter` | ObjectWriter.`with(ContextAttributes attrs)`
    `ObjectReader` | ObjectReader.`with(ContextAttributes attrs)`
    `SerializationConfig` | SerializationConfig.`with(ContextAttributes attrs)`
    `DeserializationConfig` | DeserializationConfig.`with(ContextAttributes attrs)`
    `ObjectWriter` | ObjectMapper.`writer(ContextAttributes attrs)` Factory method for constructing `ObjectWriter` that will use specified default attributes.

    Constructors in com.fasterxml.jackson.databind with parameters of type ContextAttributes
    Constructor and 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 and Description
    --- | ---
    `static class` | `ContextAttributes.Impl`

    Fields in com.fasterxml.jackson.databind.cfg declared as ContextAttributes
    Modifier and Type | Field and 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 and 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(Object key, Object value)` Overridable method that creates initial non-shared instance, with the first explicit set value.
    `abstract ContextAttributes` | ContextAttributes.`withoutSharedAttribute(Object key)`
    `ContextAttributes` | ContextAttributes.Impl.`withoutSharedAttribute(Object key)`
    `abstract ContextAttributes` | ContextAttributes.`withPerCallAttribute(Object key, Object value)` Mutator used during call (via context) to set value of "non-shared" part of attribute set.
    `ContextAttributes` | ContextAttributes.Impl.`withPerCallAttribute(Object key, Object value)`
    `abstract ContextAttributes` | ContextAttributes.`withSharedAttribute(Object key, Object value)`
    `ContextAttributes` | ContextAttributes.Impl.`withSharedAttribute(Object key, Object value)`
    `abstract ContextAttributes` | ContextAttributes.`withSharedAttributes(Map<?,?> attributes)`
    `ContextAttributes` | ContextAttributes.Impl.`withSharedAttributes(Map<?,?> shared)`

    Methods in com.fasterxml.jackson.databind.cfg with parameters of type ContextAttributes
    Modifier and Type | Method and 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 and Description
    `MapperConfigBase(MapperConfigBase<CFG,T> src, ContextAttributes attr)`

Copyright © 2008–2020 FasterXML. All rights reserved.