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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getAttribute
(String name) void
removeAttribute
(String name) void
setAsyncAttributes
(String requestURI, String contextPath, String pathInContext, ServletPathMapping servletPathMapping, String queryString) void
setAttribute
(String name, 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
-
Constructor Details
-
ServletAttributes
public ServletAttributes()
-
-
Method Details
-
setAsyncAttributes
public void setAsyncAttributes(String requestURI, String contextPath, String pathInContext, ServletPathMapping servletPathMapping, String queryString) -
removeAttribute
- Specified by:
removeAttribute
in interfaceAttributes
-
setAttribute
- Specified by:
setAttribute
in interfaceAttributes
-
getAttribute
- Specified by:
getAttribute
in interfaceAttributes
-
getAttributeNameSet
- Specified by:
getAttributeNameSet
in interfaceAttributes
-
clearAttributes
public void clearAttributes()- Specified by:
clearAttributes
in interfaceAttributes
-