Class SessionHandler.SessionRequest
java.lang.Object
org.eclipse.jetty.server.Request.Wrapper
org.eclipse.jetty.session.SessionHandler.SessionRequest
- All Implemented Interfaces:
 Content.Source, Request, Attributes
- Enclosing class:
 SessionHandler
- 
Nested Class Summary
Nested classes/interfaces inherited from interface Attributes
Attributes.Layer, Attributes.Lazy, Attributes.Mapped, Attributes.SyntheticNested classes/interfaces inherited from interface Content.Source
Content.Source.FactoryNested classes/interfaces inherited from interface Request
Request.AttributesWrapper, Request.AuthenticationState, Request.Handler, Request.ServeAs, Request.Wrapper - 
Field Summary
Fields inherited from interface Attributes
NULLFields inherited from interface Request
COOKIE_ATTRIBUTE, DEFAULT_LOCALES, LOG - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiongetAttribute(String name) Get an attribute by name.getSession(boolean create) Get aSessionassociated with the request.booleanprocess(Request.Handler handler, Response response, Callback callback) Methods inherited from class Request.Wrapper
addFailureListener, addHttpStreamWrapper, addIdleTimeoutListener, asAttributeMap, clearAttributes, consumeAvailable, demand, fail, getAttributeNameSet, getBeginNanoTime, getComponents, getConnectionMetaData, getContext, getHeaders, getHeadersNanoTime, getHttpURI, getId, getLength, getMethod, getTrailers, getTunnelSupport, getWrapped, isSecure, push, read, removeAttribute, setAttribute, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Attributes
equals, hashCodeMethods inherited from interface Content.Source
fail, rewind 
- 
Constructor Details
- 
SessionRequest
 
 - 
 - 
Method Details
- 
getAttribute
Description copied from interface:AttributesGet an attribute by name. Some attributes may be "hidden" attributes, in that they are only found by an explicit call togetAttribute(String)and they do not otherwise appear inAttributes.getAttributeNameSet()orAttributes.asAttributeMap().- Specified by:
 getAttributein interfaceAttributes- Overrides:
 getAttributein classRequest.Wrapper- Parameters:
 name- the attribute to get- Returns:
 - the value of the attribute, or 
nullif no such attribute exists 
 - 
getSession
Description copied from interface:RequestGet a
Sessionassociated with the request. Sessions may not be supported by a given configuration, in which casenullwill be returned.- Specified by:
 getSessionin interfaceRequest- Overrides:
 getSessionin classRequest.Wrapper- Parameters:
 create- True if the session should be created for the request.- Returns:
 - The session associated with the request or 
null. 
 - 
process
public boolean process(Request.Handler handler, Response response, Callback callback) throws Exception - Throws:
 Exception
 
 -