public class RedirectionServlet extends javax.servlet.http.HttpServlet
| Constructor and Description |
|---|
RedirectionServlet(int code,
String targetPath) |
RedirectionServlet(int code,
String myPath,
String targetPath,
int maxRedirects) |
| Modifier and Type | Method and Description |
|---|---|
int |
getRedirectCount() |
protected void |
service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, servicepublic RedirectionServlet(int code, String targetPath)
public RedirectionServlet(int code, String myPath, String targetPath, int maxRedirects)
public int getRedirectCount()
protected void service(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
service in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionCopyright © 2003–2022 The Apache Software Foundation. All rights reserved.