Class MovedContextHandler

All Implemented Interfaces:
Handler, HandlerContainer, Attributes, Container, Destroyable, Dumpable, Dumpable.DumpableContainer, Graceful, LifeCycle

@Deprecated(since="2021-05-27") public class MovedContextHandler extends ContextHandler
Deprecated.
The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
Moved ContextHandler. This context can be used to replace a context that has changed location. Requests are redirected (either to a fixed URL or to a new context base).
  • Constructor Details

    • MovedContextHandler

      public MovedContextHandler()
      Deprecated.
    • MovedContextHandler

      public MovedContextHandler(HandlerContainer parent, String contextPath, String newContextURL)
      Deprecated.
  • Method Details

    • isDiscardPathInfo

      public boolean isDiscardPathInfo()
      Deprecated.
    • setDiscardPathInfo

      public void setDiscardPathInfo(boolean discardPathInfo)
      Deprecated.
    • getNewContextURL

      public String getNewContextURL()
      Deprecated.
    • setNewContextURL

      public void setNewContextURL(String newContextURL)
      Deprecated.
    • isPermanent

      public boolean isPermanent()
      Deprecated.
    • setPermanent

      public void setPermanent(boolean permanent)
      Deprecated.
    • isDiscardQuery

      public boolean isDiscardQuery()
      Deprecated.
    • setDiscardQuery

      public void setDiscardQuery(boolean discardQuery)
      Deprecated.
    • getExpires

      public String getExpires()
      Deprecated.
      Returns:
      the expires header value or null if no expires header
    • setExpires

      public void setExpires(String expires)
      Deprecated.
      Parameters:
      expires - the expires header value or null if no expires header