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.Wrapper
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
Dumpable.DumpableContainer
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAll
(Attributes attributes) void
dump()
void
dump
(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) void
removeAttribute
(String name) void
setAttribute
(String name, Object attribute) int
size()
toString()
-
Constructor Details
-
AttributesMap
public AttributesMap() -
AttributesMap
-
-
Method Details
-
removeAttribute
- Specified by:
removeAttribute
in interfaceAttributes
-
setAttribute
- Specified by:
setAttribute
in interfaceAttributes
-
getAttribute
- Specified by:
getAttribute
in interfaceAttributes
-
getAttributeNames
- Specified by:
getAttributeNames
in interfaceAttributes
-
getAttributeNameSet
- Specified by:
getAttributeNameSet
in interfaceAttributes
-
getAttributeEntrySet
-
getAttributeNamesCopy
-
clearAttributes
public void clearAttributes()- Specified by:
clearAttributes
in interfaceAttributes
-
size
public int size() -
toString
-
addAll
-
dump
-
dump
Description copied from interface:Dumpable
Dump 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:
dump
in interfaceDumpable
- Parameters:
out
- The appendable to dump toindent
- The indent to apply after any new lines.- Throws:
IOException
- if unable to write to Appendable
-