java.lang.Object
org.eclipse.jetty.util.Attributes.Wrapper
org.eclipse.jetty.server.Request.Wrapper
org.eclipse.jetty.server.handler.gzip.GzipRequest
- All Implemented Interfaces:
org.eclipse.jetty.io.Content.Source,Request,org.eclipse.jetty.util.Attributes
-
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.WrapperNested classes/interfaces inherited from interface org.eclipse.jetty.server.Request
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
CACHE_ATTRIBUTE, COOKIE_ATTRIBUTE, DEFAULT_LOCALES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidorg.eclipse.jetty.http.HttpFieldsorg.eclipse.jetty.io.Content.Chunkread()Methods inherited from class org.eclipse.jetty.server.Request.Wrapper
addFailureListener, addHttpStreamWrapper, addIdleTimeoutListener, consumeAvailable, fail, getBeginNanoTime, getComponents, getConnectionMetaData, getContext, getHeadersNanoTime, getHttpURI, getId, getLength, getMethod, getSession, getTrailers, getTunnelSupport, getWrapped, isSecure, pushMethods inherited from class org.eclipse.jetty.util.Attributes.Wrapper
clearAttributes, equals, getAttribute, getAttributeNameSet, hashCode, removeAttribute, setAttributeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.jetty.util.Attributes
asAttributeMap, clearAttributes, getAttribute, getAttributeNameSet, removeAttribute, setAttributeMethods inherited from interface org.eclipse.jetty.io.Content.Source
fail, rewind
-
Constructor Details
-
GzipRequest
-
-
Method Details
-
getHeaders
public org.eclipse.jetty.http.HttpFields getHeaders()- Specified by:
getHeadersin interfaceRequest- Overrides:
getHeadersin classRequest.Wrapper- Returns:
- the HTTP headers of this
Request
-
read
public org.eclipse.jetty.io.Content.Chunk read()Description copied from interface:RequestIn addition, the returned
Content.Chunkmay be aTrailersinstance, in case of request content trailers.- Specified by:
readin interfaceorg.eclipse.jetty.io.Content.Source- Specified by:
readin interfaceRequest- Overrides:
readin classRequest.Wrapper
-
demand
Description copied from interface:Request- Specified by:
demandin interfaceorg.eclipse.jetty.io.Content.Source- Specified by:
demandin interfaceRequest- Overrides:
demandin classRequest.Wrapper- Parameters:
demandCallback- the demand callback to invoke when there is a content chunk available. In addition to the invocation guarantees ofContent.Source.demand(Runnable), this implementation serializes the invocation of theRunnablewith invocations of anyResponse.write(boolean, ByteBuffer, Callback)Callbackinvocations.- See Also:
-