Class ContextAttributes.Impl
- java.lang.Object
-
- com.fasterxml.jackson.databind.cfg.ContextAttributes
-
- com.fasterxml.jackson.databind.cfg.ContextAttributes.Impl
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- ContextAttributes
public static class ContextAttributes.Impl extends ContextAttributes implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.cfg.ContextAttributes
ContextAttributes.Impl
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetAttribute(java.lang.Object key)Accessor for value of specified attributestatic ContextAttributesgetEmpty()ContextAttributeswithoutSharedAttribute(java.lang.Object key)ContextAttributeswithPerCallAttribute(java.lang.Object key, java.lang.Object value)Mutator used during call (via context) to set value of "non-shared" part of attribute set.ContextAttributeswithSharedAttribute(java.lang.Object key, java.lang.Object value)ContextAttributeswithSharedAttributes(java.util.Map<?,?> shared)
-
-
-
Method Detail
-
getEmpty
public static ContextAttributes getEmpty()
-
withSharedAttribute
public ContextAttributes withSharedAttribute(java.lang.Object key, java.lang.Object value)
- Specified by:
withSharedAttributein classContextAttributes
-
withSharedAttributes
public ContextAttributes withSharedAttributes(java.util.Map<?,?> shared)
- Specified by:
withSharedAttributesin classContextAttributes
-
withoutSharedAttribute
public ContextAttributes withoutSharedAttribute(java.lang.Object key)
- Specified by:
withoutSharedAttributein classContextAttributes
-
getAttribute
public java.lang.Object getAttribute(java.lang.Object key)
Description copied from class:ContextAttributesAccessor for value of specified attribute- Specified by:
getAttributein classContextAttributes
-
withPerCallAttribute
public ContextAttributes withPerCallAttribute(java.lang.Object key, java.lang.Object value)
Description copied from class:ContextAttributesMutator used during call (via context) to set value of "non-shared" part of attribute set.- Specified by:
withPerCallAttributein classContextAttributes
-
-