public class RedirectionServlet extends 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(HttpServletRequest req,
HttpServletResponse resp) |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, servicedestroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, logpublic RedirectionServlet(int code, String targetPath)
public RedirectionServlet(int code, String myPath, String targetPath, int maxRedirects)
public int getRedirectCount()
protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException
service in class HttpServletServletExceptionIOExceptionCopyright © 2003–2014 The Apache Software Foundation. All rights reserved.