Package org.eclipse.jetty.server
Class ServletAttributes
- java.lang.Object
-
- org.eclipse.jetty.server.ServletAttributes
-
- All Implemented Interfaces:
Attributes
public class ServletAttributes extends java.lang.Object implements Attributes
An implementation of Attributes that supports the standard async attributes. This implementation delegates to an internalAttributesMap
instance, which can optionally be wrapped with aAsyncAttributes
instance. This allows async attributes to be applied underneath any other attribute wrappers.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.Attributes
Attributes.Wrapper
-
-
Constructor Summary
Constructors Constructor Description ServletAttributes()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearAttributes()
java.lang.Object
getAttribute(java.lang.String name)
java.util.Set<java.lang.String>
getAttributeNameSet()
void
removeAttribute(java.lang.String name)
void
setAsyncAttributes(java.lang.String requestURI, java.lang.String contextPath, java.lang.String pathInContext, ServletPathMapping servletPathMapping, java.lang.String queryString)
void
setAttribute(java.lang.String name, java.lang.Object attribute)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.jetty.util.Attributes
getAttributeNames
-
-
-
-
Method Detail
-
setAsyncAttributes
public void setAsyncAttributes(java.lang.String requestURI, java.lang.String contextPath, java.lang.String pathInContext, ServletPathMapping servletPathMapping, java.lang.String queryString)
-
removeAttribute
public void removeAttribute(java.lang.String name)
- Specified by:
removeAttribute
in interfaceAttributes
-
setAttribute
public void setAttribute(java.lang.String name, java.lang.Object attribute)
- Specified by:
setAttribute
in interfaceAttributes
-
getAttribute
public java.lang.Object getAttribute(java.lang.String name)
- Specified by:
getAttribute
in interfaceAttributes
-
getAttributeNameSet
public java.util.Set<java.lang.String> getAttributeNameSet()
- Specified by:
getAttributeNameSet
in interfaceAttributes
-
clearAttributes
public void clearAttributes()
- Specified by:
clearAttributes
in interfaceAttributes
-
-