public class RedirectionServlet
extends javax.servlet.http.HttpServlet
Constructor and Description |
---|
RedirectionServlet(int code,
String path) |
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 path)
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–2015. All rights reserved.