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
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.Attributes
Attributes.WrapperNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
Dumpable.DumpableContainer -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAll(Attributes attributes) voiddump()voiddump(Appendable out, String indent) Dump this object (and children) into an Appendable using the provided indent after any new lines.getAttribute(String name) static Enumeration<String>getAttributeNamesCopy(Attributes attrs) voidremoveAttribute(String name) voidsetAttribute(String name, Object attribute) intsize()toString()
-
Constructor Details
-
AttributesMap
public AttributesMap() -
AttributesMap
-
-
Method Details
-
removeAttribute
- Specified by:
removeAttributein interfaceAttributes
-
setAttribute
- Specified by:
setAttributein interfaceAttributes
-
getAttribute
- Specified by:
getAttributein interfaceAttributes
-
getAttributeNames
- Specified by:
getAttributeNamesin interfaceAttributes
-
getAttributeNameSet
- Specified by:
getAttributeNameSetin interfaceAttributes
-
getAttributeEntrySet
-
getAttributeNamesCopy
-
clearAttributes
public void clearAttributes()- Specified by:
clearAttributesin interfaceAttributes
-
size
public int size() -
toString
-
addAll
-
dump
-
dump
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
-