Class Request.AttributesWrapper
java.lang.Object
org.eclipse.jetty.server.Request.Wrapper
org.eclipse.jetty.server.Request.AttributesWrapper
- All Implemented Interfaces:
org.eclipse.jetty.io.Content.Source,Request,org.eclipse.jetty.util.Attributes
- Direct Known Subclasses:
ErrorHandler.ErrorRequest,SecureRequestCustomizer.SecureRequestWithSslSessionData
- Enclosing interface:
Request
A Request.Wrapper that separately provides the request Attributes.
The provided Attributes should be an Attributes.Wrapper over the request.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.Attributes
org.eclipse.jetty.util.Attributes.Layer, org.eclipse.jetty.util.Attributes.Lazy, org.eclipse.jetty.util.Attributes.Mapped, org.eclipse.jetty.util.Attributes.SyntheticNested classes/interfaces inherited from interface org.eclipse.jetty.io.Content.Source
org.eclipse.jetty.io.Content.Source.FactoryNested classes/interfaces inherited from interface org.eclipse.jetty.server.Request
Request.AttributesWrapper, Request.AuthenticationState, Request.Handler, Request.ServeAs, Request.Wrapper -
Field Summary
Fields inherited from interface org.eclipse.jetty.util.Attributes
NULLFields inherited from interface org.eclipse.jetty.server.Request
COOKIE_ATTRIBUTE, DEFAULT_LOCALES, LOG -
Constructor Summary
ConstructorsConstructorDescriptionAttributesWrapper(Request wrapped, org.eclipse.jetty.util.Attributes attributes) -
Method Summary
Modifier and TypeMethodDescriptionvoidgetAttribute(String name) removeAttribute(String name) setAttribute(String name, Object attribute) Methods inherited from class org.eclipse.jetty.server.Request.Wrapper
addFailureListener, addHttpStreamWrapper, addIdleTimeoutListener, consumeAvailable, demand, fail, getBeginNanoTime, getComponents, getConnectionMetaData, getContext, getHeaders, getHeadersNanoTime, getHttpURI, getId, getLength, getMethod, getSession, getTrailers, getTunnelSupport, getWrapped, isSecure, push, read, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jetty.util.Attributes
equals, hashCodeMethods inherited from interface org.eclipse.jetty.io.Content.Source
fail, rewind
-
Constructor Details
-
AttributesWrapper
- Parameters:
wrapped- the request to wrapattributes- the provided request attributes, typically aAttributes.Wrapperover the request
-
-
Method Details
-
asAttributeMap
- Specified by:
asAttributeMapin interfaceorg.eclipse.jetty.util.Attributes- Overrides:
asAttributeMapin classRequest.Wrapper
-
clearAttributes
public void clearAttributes()- Specified by:
clearAttributesin interfaceorg.eclipse.jetty.util.Attributes- Overrides:
clearAttributesin classRequest.Wrapper
-
removeAttribute
- Specified by:
removeAttributein interfaceorg.eclipse.jetty.util.Attributes- Overrides:
removeAttributein classRequest.Wrapper
-
setAttribute
- Specified by:
setAttributein interfaceorg.eclipse.jetty.util.Attributes- Overrides:
setAttributein classRequest.Wrapper
-
getAttribute
- Specified by:
getAttributein interfaceorg.eclipse.jetty.util.Attributes- Overrides:
getAttributein classRequest.Wrapper
-
getAttributeNameSet
- Specified by:
getAttributeNameSetin interfaceorg.eclipse.jetty.util.Attributes- Overrides:
getAttributeNameSetin classRequest.Wrapper
-