Class SessionHandler.SessionRequest
java.lang.Object
org.eclipse.jetty.server.Request.Wrapper
org.eclipse.jetty.session.SessionHandler.SessionRequest
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.Attributes
Attributes.Layer, Attributes.Lazy, Attributes.Mapped, Attributes.Synthetic
Nested classes/interfaces inherited from interface org.eclipse.jetty.io.Content.Source
Content.Source.Factory
Nested 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
NULL
Fields inherited from interface org.eclipse.jetty.server.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 aSession
associated with the request.boolean
process
(Request.Handler handler, Response response, Callback callback) Methods inherited from class org.eclipse.jetty.server.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, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.jetty.util.Attributes
equals, hashCode
Methods inherited from interface org.eclipse.jetty.io.Content.Source
fail, rewind
-
Constructor Details
-
SessionRequest
-
-
Method Details
-
getAttribute
Description copied from interface:Attributes
Get 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:
getAttribute
in interfaceAttributes
- Overrides:
getAttribute
in classRequest.Wrapper
- Parameters:
name
- the attribute to get- Returns:
- the value of the attribute, or
null
if no such attribute exists
-
getSession
Description copied from interface:Request
Get a
Session
associated with the request. Sessions may not be supported by a given configuration, in which casenull
will be returned.- Specified by:
getSession
in interfaceRequest
- Overrides:
getSession
in 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
-