Class RedirectServlet

java.lang.Object
javax.servlet.GenericServlet
com.atlassian.confluence.impl.webapp.RedirectServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class RedirectServlet extends javax.servlet.GenericServlet
Servlet that redirects to the specified ServletConfig target init-param on the same context path as the incoming request.
Since:
8.8.0
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    service(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res)
     

    Methods inherited from class javax.servlet.GenericServlet

    destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RedirectServlet

      public RedirectServlet()
  • Method Details

    • init

      public void init() throws javax.servlet.ServletException
      Overrides:
      init in class javax.servlet.GenericServlet
      Throws:
      javax.servlet.ServletException
    • service

      public void service(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res) throws javax.servlet.ServletException, IOException
      Specified by:
      service in interface javax.servlet.Servlet
      Specified by:
      service in class javax.servlet.GenericServlet
      Throws:
      javax.servlet.ServletException
      IOException