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.SyntheticNested classes/interfaces inherited from interface org.eclipse.jetty.io.Content.Source
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
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, 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
-
VaryHandler
-
-
Method Details
-
handle
Description copied from class:Rule.HandlerHandles 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 thesuperimplementation to chain the rules.- Overrides:
handlein classRule.Handler- Parameters:
response- theResponsecallback- theCallback- Throws:
Exception- if there is a failure while handling the rules
-