Class RewriteEncodingRule.VaryHandler
java.lang.Object
org.eclipse.jetty.server.Request.Wrapper
org.eclipse.jetty.rewrite.handler.Rule.Handler
org.eclipse.jetty.rewrite.handler.RewriteEncodingRule.VaryHandler
- All Implemented Interfaces:
Content.Source
,Request
,Attributes
- Enclosing class:
RewriteEncodingRule
-
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
Methods inherited from class org.eclipse.jetty.server.Request.Wrapper
addFailureListener, addHttpStreamWrapper, addIdleTimeoutListener, asAttributeMap, clearAttributes, consumeAvailable, demand, fail, getAttribute, getAttributeNameSet, getBeginNanoTime, getComponents, getConnectionMetaData, getContext, getHeaders, getHeadersNanoTime, getHttpURI, getId, getLength, getMethod, getSession, 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
-
VaryHandler
-
-
Method Details
-
handle
Description copied from class:Rule.Handler
Handles this wrapped request together with the passed response and callback.
This method should be overridden only if the rule applies to the response, or the rule completes the callback. By default this method forwards the handling to the next
Rule.Handler
. If a rule that overrides this method is non-terminating
, it should call thesuper
implementation to chain the rules.- Overrides:
handle
in classRule.Handler
- Parameters:
response
- theResponse
callback
- theCallback
- Throws:
Exception
- if there is a failure while handling the rules
-