Class RewriteLanguageRule.VaryHandler

java.lang.Object
org.eclipse.jetty.server.Request.Wrapper
org.eclipse.jetty.rewrite.handler.Rule.Handler
org.eclipse.jetty.rewrite.handler.RewriteLanguageRule.VaryHandler
All Implemented Interfaces:
Content.Source, Request, Attributes
Enclosing class:
RewriteLanguageRule

protected class RewriteLanguageRule.VaryHandler extends Rule.Handler
  • Constructor Details

  • Method Details

    • handle

      protected boolean handle(Response response, Callback callback) throws Exception
      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 the super implementation to chain the rules.

      Overrides:
      handle in class Rule.Handler
      Parameters:
      response - the Response
      callback - the Callback
      Throws:
      Exception - if there is a failure while handling the rules