Class Attributes.Synthetic

java.lang.Object
org.eclipse.jetty.util.Attributes.Wrapper
org.eclipse.jetty.util.Attributes.Synthetic
All Implemented Interfaces:
Attributes
Enclosing interface:
Attributes

public abstract static class Attributes.Synthetic extends Attributes.Wrapper
An abstract implementation of Attributes.Wrapper that provides a mechanism for synthetic attributes that can be modified or deleted. A synthetic attribute is one whose value is not stored in the normal map backing the Attributes instance, but is instead calculated as needed. Modifications to synthetic attributes are maintained in a separate layer and no modifications are made to the backing Attributes.

Non-synthetic attributes are handled normally by the backing Attributes

Uses of this class must provide implementations for getSyntheticNameSet() amd getSyntheticAttribute(String).