Class AttributesMap
java.lang.Object
org.eclipse.jetty.util.AttributesMap
- All Implemented Interfaces:
 Attributes, Dumpable
Deprecated.
- 
Nested Class Summary
Nested classes/interfaces inherited from interface Attributes
Attributes.Layer, Attributes.Lazy, Attributes.Mapped, Attributes.Synthetic, Attributes.WrapperNested classes/interfaces inherited from interface Dumpable
Dumpable.DumpableContainer, Dumpable.DumpAppendable - 
Field Summary
Fields inherited from interface Attributes
NULL - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidaddAll(Attributes attributes) Deprecated.voidDeprecated.Clear all attribute namesdump()Deprecated.voiddump(Appendable out, String indent) Deprecated.Dump this object (and children) into an Appendable using the provided indent after any new lines.getAttribute(String name) Deprecated.Get an attribute by name.Deprecated.static Enumeration<String> getAttributeNamesCopy(Attributes attrs) Deprecated.Deprecated.Get the immutable set of attribute names.Deprecated.removeAttribute(String name) Deprecated.Remove an attributesetAttribute(String name, Object attribute) Deprecated.Set an attributeintsize()Deprecated.toString()Deprecated.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Attributes
asAttributeMap, equals, hashCode 
- 
Constructor Details
- 
AttributesMap
public AttributesMap()Deprecated. - 
AttributesMap
Deprecated. 
 - 
 - 
Method Details
- 
removeAttribute
Deprecated.Description copied from interface:AttributesRemove an attribute- Specified by:
 removeAttributein interfaceAttributes- Parameters:
 name- the attribute to remove- Returns:
 - the value of the attribute if removed, else 
null 
 - 
setAttribute
Deprecated.Description copied from interface:AttributesSet an attribute- Specified by:
 setAttributein interfaceAttributes- Parameters:
 name- the attribute to setattribute- the value to set. A null value is equivalent to removing the attribute.- Returns:
 - the previous value of the attribute if set, else 
null 
 - 
getAttribute
Deprecated.Description copied from interface:AttributesGet an attribute by name. Some attributes may be "hidden" attributes, in that they are only found by an explicit call togetAttribute(String)and they do not otherwise appear inAttributes.getAttributeNameSet()orAttributes.asAttributeMap().- Specified by:
 getAttributein interfaceAttributes- Parameters:
 name- the attribute to get- Returns:
 - the value of the attribute, or 
nullif no such attribute exists 
 - 
getAttributeNameSet
Deprecated.Description copied from interface:AttributesGet the immutable set of attribute names.- Specified by:
 getAttributeNameSetin interfaceAttributes- Returns:
 - Set of attribute names, or an empty set if there are no attributes.
 
 - 
getAttributeEntrySet
 - 
getAttributeNamesCopy
Deprecated. - 
getAttributeNameSetCopy
Deprecated. - 
clearAttributes
public void clearAttributes()Deprecated.Description copied from interface:AttributesClear all attribute names- Specified by:
 clearAttributesin interfaceAttributes
 - 
size
public int size()Deprecated. - 
toString
 - 
addAll
Deprecated. - 
dump
 - 
dump
Deprecated.Description copied from interface:DumpableDump this object (and children) into an Appendable using the provided indent after any new lines. The indent should not be applied to the first object dumped.- Specified by:
 dumpin interfaceDumpable- Parameters:
 out- The appendable to dump toindent- The indent to apply after any new lines.- Throws:
 IOException- if unable to write to Appendable
 
 - 
 
Attributes.Mapped