Package org.eclipse.jetty.server
Class ServletAttributes
java.lang.Object
org.eclipse.jetty.server.ServletAttributes
- All Implemented Interfaces:
Attributes
An implementation of Attributes that supports the standard async attributes.
This implementation delegates to an internal
AttributesMap instance, which
can optionally be wrapped with a AsyncAttributes 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 -
Method Summary
Modifier and TypeMethodDescriptionvoidgetAttribute(String name) voidremoveAttribute(String name) voidsetAsyncAttributes(String requestURI, String contextPath, String pathInContext, ServletPathMapping servletPathMapping, String queryString) voidsetAttribute(String name, Object attribute) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.jetty.util.Attributes
getAttributeNames
-
Constructor Details
-
ServletAttributes
public ServletAttributes()
-
-
Method Details
-
setAsyncAttributes
public void setAsyncAttributes(String requestURI, String contextPath, String pathInContext, ServletPathMapping servletPathMapping, String queryString) -
removeAttribute
- Specified by:
removeAttributein interfaceAttributes
-
setAttribute
- Specified by:
setAttributein interfaceAttributes
-
getAttribute
- Specified by:
getAttributein interfaceAttributes
-
getAttributeNameSet
- Specified by:
getAttributeNameSetin interfaceAttributes
-
clearAttributes
public void clearAttributes()- Specified by:
clearAttributesin interfaceAttributes
-