Class Rule.HttpURIHandler

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

public static class Rule.HttpURIHandler extends Rule.Handler

A Rule.Handler that wraps a Request to return a different HttpURI.

  • 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.Wrapper

    Nested classes/interfaces inherited from interface org.eclipse.jetty.server.Request

    org.eclipse.jetty.server.Request.AuthenticationState, org.eclipse.jetty.server.Request.Handler, org.eclipse.jetty.server.Request.ServeAs, org.eclipse.jetty.server.Request.Wrapper
  • Field Summary

    Fields inherited from interface org.eclipse.jetty.util.Attributes

    NULL

    Fields inherited from interface org.eclipse.jetty.server.Request

    CACHE_ATTRIBUTE, COOKIE_ATTRIBUTE, DEFAULT_LOCALES
  • Constructor Summary

    Constructors
    Constructor
    Description
    HttpURIHandler(Rule.Handler handler, org.eclipse.jetty.http.HttpURI uri)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.eclipse.jetty.http.HttpURI
     

    Methods inherited from class org.eclipse.jetty.rewrite.handler.Rule.Handler

    handle

    Methods inherited from class org.eclipse.jetty.server.Request.Wrapper

    addFailureListener, addHttpStreamWrapper, addIdleTimeoutListener, consumeAvailable, demand, fail, getBeginNanoTime, getComponents, getConnectionMetaData, getContext, getHeaders, getHeadersNanoTime, getId, getLength, getMethod, getSession, getTrailers, getTunnelSupport, getWrapped, isSecure, push, read

    Methods inherited from class org.eclipse.jetty.util.Attributes.Wrapper

    clearAttributes, equals, getAttribute, getAttributeNameSet, hashCode, removeAttribute, setAttribute

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.eclipse.jetty.util.Attributes

    asAttributeMap, clearAttributes, getAttribute, getAttributeNameSet, removeAttribute, setAttribute

    Methods inherited from interface org.eclipse.jetty.io.Content.Source

    fail, rewind
  • Constructor Details

    • HttpURIHandler

      public HttpURIHandler(Rule.Handler handler, org.eclipse.jetty.http.HttpURI uri)
  • Method Details

    • getHttpURI

      public org.eclipse.jetty.http.HttpURI getHttpURI()
      Specified by:
      getHttpURI in interface org.eclipse.jetty.server.Request
      Overrides:
      getHttpURI in class org.eclipse.jetty.server.Request.Wrapper