Class RedirectServlet

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

public class RedirectServlet extends jakarta.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(jakarta.servlet.ServletRequest req, jakarta.servlet.ServletResponse res)
     

    Methods inherited from class jakarta.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 jakarta.servlet.ServletException
      Overrides:
      init in class jakarta.servlet.GenericServlet
      Throws:
      jakarta.servlet.ServletException
    • service

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