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, service
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
public 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 HttpServlet
ServletException
IOException
Copyright © 2003–2013 The Apache Software Foundation. All rights reserved.