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