Class RewriteLanguageRule.LanguageHandler
java.lang.Object
org.eclipse.jetty.server.Request.Wrapper
org.eclipse.jetty.rewrite.handler.Rule.Handler
org.eclipse.jetty.rewrite.handler.RewriteLanguageRule.LanguageHandler
- All Implemented Interfaces:
 Content.Source, Request, Attributes
- Enclosing class:
 RewriteLanguageRule
- 
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
ConstructorsConstructorDescriptionLanguageHandler(Rule.Handler input, String languagePathInContext, String language)  - 
Method Summary
Modifier and TypeMethodDescriptionprotected booleanHandles this wrapped request together with the passed response and callback.Methods inherited from class Request.Wrapper
addFailureListener, addHttpStreamWrapper, addIdleTimeoutListener, asAttributeMap, clearAttributes, consumeAvailable, demand, fail, getAttribute, getAttributeNameSet, getBeginNanoTime, getComponents, getConnectionMetaData, getContext, getHeadersNanoTime, getId, getLength, getMethod, getSession, 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
- 
LanguageHandler
 
 - 
 - 
Method Details
- 
getHttpURI
- Specified by:
 getHttpURIin interfaceRequest- Overrides:
 getHttpURIin classRequest.Wrapper- Returns:
 - the HTTP URI of this 
Request - See Also:
 
 - 
getHeaders
- Specified by:
 getHeadersin interfaceRequest- Overrides:
 getHeadersin classRequest.Wrapper- Returns:
 - the HTTP headers of this 
Request 
 - 
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
 
 -