Package org.eclipse.jetty.util
Class AttributesMap
- java.lang.Object
-
- org.eclipse.jetty.util.AttributesMap
-
- All Implemented Interfaces:
Attributes,Dumpable
- Direct Known Subclasses:
ContextHandler.StaticContext,HttpConversation,ProxyConnectionFactory.ProxyEndPoint
public class AttributesMap extends java.lang.Object implements Attributes, Dumpable
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.Attributes
Attributes.Wrapper
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
Dumpable.DumpableContainer
-
-
Constructor Summary
Constructors Constructor Description AttributesMap()AttributesMap(AttributesMap attributes)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAll(Attributes attributes)voidclearAttributes()java.lang.Stringdump()voiddump(java.lang.Appendable out, java.lang.String indent)Dump this object (and children) into an Appendable using the provided indent after any new lines.java.lang.ObjectgetAttribute(java.lang.String name)java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.Object>>getAttributeEntrySet()java.util.Enumeration<java.lang.String>getAttributeNames()static java.util.Enumeration<java.lang.String>getAttributeNamesCopy(Attributes attrs)java.util.Set<java.lang.String>getAttributeNameSet()voidremoveAttribute(java.lang.String name)voidsetAttribute(java.lang.String name, java.lang.Object attribute)intsize()java.lang.StringtoString()
-
-
-
Constructor Detail
-
AttributesMap
public AttributesMap()
-
AttributesMap
public AttributesMap(AttributesMap attributes)
-
-
Method Detail
-
removeAttribute
public void removeAttribute(java.lang.String name)
- Specified by:
removeAttributein interfaceAttributes
-
setAttribute
public void setAttribute(java.lang.String name, java.lang.Object attribute)- Specified by:
setAttributein interfaceAttributes
-
getAttribute
public java.lang.Object getAttribute(java.lang.String name)
- Specified by:
getAttributein interfaceAttributes
-
getAttributeNames
public java.util.Enumeration<java.lang.String> getAttributeNames()
- Specified by:
getAttributeNamesin interfaceAttributes
-
getAttributeNameSet
public java.util.Set<java.lang.String> getAttributeNameSet()
- Specified by:
getAttributeNameSetin interfaceAttributes
-
getAttributeEntrySet
public java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.Object>> getAttributeEntrySet()
-
getAttributeNamesCopy
public static java.util.Enumeration<java.lang.String> getAttributeNamesCopy(Attributes attrs)
-
clearAttributes
public void clearAttributes()
- Specified by:
clearAttributesin interfaceAttributes
-
size
public int size()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
addAll
public void addAll(Attributes attributes)
-
dump
public void dump(java.lang.Appendable out, java.lang.String indent) throws java.io.IOExceptionDescription 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.
-
-