Package org.eclipse.jetty.util
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 org.eclipse.jetty.util.Attributes
Attributes.Layer, Attributes.Lazy, Attributes.Mapped, Attributes.Synthetic, Attributes.Wrapper
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
Dumpable.DumpableContainer
-
Field Summary
Fields inherited from interface org.eclipse.jetty.util.Attributes
NULL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAll
(Attributes attributes) Deprecated.void
Deprecated.Clear all attribute namesdump()
Deprecated.void
dump
(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 attributeDeprecated.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 attributeint
size()
Deprecated.toString()
Deprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.jetty.util.Attributes
asAttributeMap, equals, hashCode
-
Constructor Details
-
AttributesMap
public AttributesMap()Deprecated. -
AttributesMap
Deprecated.
-
-
Method Details
-
removeAttribute
Deprecated.Description copied from interface:Attributes
Remove an attribute- Specified by:
removeAttribute
in interfaceAttributes
- Parameters:
name
- the attribute to remove- Returns:
- the value of the attribute if removed, else
null
-
setAttribute
Deprecated.Description copied from interface:Attributes
Set an attribute- Specified by:
setAttribute
in 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:Attributes
Get an attribute- Specified by:
getAttribute
in interfaceAttributes
- Parameters:
name
- the attribute to get- Returns:
- the value of the attribute, or
null
if no such attribute exists
-
getAttributeNameSet
Deprecated.Description copied from interface:Attributes
Get the immutable set of attribute names.- Specified by:
getAttributeNameSet
in interfaceAttributes
- Returns:
- Set of attribute names, or an empty set if there are no attributes.
-
getAttributeEntrySet
Deprecated. -
getAttributeNamesCopy
Deprecated. -
getAttributeNameSetCopy
Deprecated. -
clearAttributes
public void clearAttributes()Deprecated.Description copied from interface:Attributes
Clear all attribute names- Specified by:
clearAttributes
in interfaceAttributes
-
size
public int size()Deprecated. -
toString
Deprecated. -
addAll
Deprecated. -
dump
Deprecated. -
dump
Deprecated.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
-
Attributes.Mapped