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 -
Method Summary
Methods inherited from class jakarta.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Constructor Details
-
RedirectServlet
public RedirectServlet()
-
-
Method Details
-
init
public void init() throws jakarta.servlet.ServletException- Overrides:
init
in classjakarta.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 interfacejakarta.servlet.Servlet
- Specified by:
service
in classjakarta.servlet.GenericServlet
- Throws:
jakarta.servlet.ServletException
IOException
-