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, service
public 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.HttpServlet
javax.servlet.ServletException
IOException
Copyright © 2003–2022 The Apache Software Foundation. All rights reserved.