Class Attributes.Wrapper
java.lang.Object
org.eclipse.jetty.util.Attributes.Wrapper
- All Implemented Interfaces:
- Attributes
- Direct Known Subclasses:
- Attributes.Layer, Attributes.Synthetic, ConnectionMetaData.Wrapper
- Enclosing interface:
- Attributes
A Wrapper of attributes
- 
Nested Class SummaryNested classes/interfaces inherited from interface AttributesAttributes.Layer, Attributes.Lazy, Attributes.Mapped, Attributes.Synthetic, Attributes.Wrapper
- 
Field SummaryFields inherited from interface AttributesNULL
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidClear all attribute namesbooleangetAttribute(String name) Get an attributeGet the immutable set of attribute names.inthashCode()removeAttribute(String name) Remove an attributesetAttribute(String name, Object attribute) Set an attributeMethods inherited from class Objectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AttributesasAttributeMap
- 
Constructor Details- 
Wrapper
 
- 
- 
Method Details- 
getWrapped
- 
removeAttributeDescription copied from interface:AttributesRemove an attribute- Specified by:
- removeAttributein interface- Attributes
- Parameters:
- name- the attribute to remove
- Returns:
- the value of the attribute if removed, else null
 
- 
setAttributeDescription copied from interface:AttributesSet an attribute- Specified by:
- setAttributein interface- Attributes
- Parameters:
- name- the attribute to set
- attribute- the value to set. A null value is equivalent to removing the attribute.
- Returns:
- the previous value of the attribute if set, else null
 
- 
getAttributeDescription copied from interface:AttributesGet an attribute- Specified by:
- getAttributein interface- Attributes
- Parameters:
- name- the attribute to get
- Returns:
- the value of the attribute, or nullif no such attribute exists
 
- 
getAttributeNameSetDescription copied from interface:AttributesGet the immutable set of attribute names.- Specified by:
- getAttributeNameSetin interface- Attributes
- Returns:
- Set of attribute names, or an empty set if there are no attributes.
 
- 
clearAttributespublic void clearAttributes()Description copied from interface:AttributesClear all attribute names- Specified by:
- clearAttributesin interface- Attributes
 
- 
hashCodepublic int hashCode()- Specified by:
- hashCodein interface- Attributes
- Overrides:
- hashCodein class- Object
 
- 
equals- Specified by:
- equalsin interface- Attributes
- Overrides:
- equalsin class- Object
 
 
-