org.apache.maven.wagon.tck.http.fixture
public class RedirectionServlet extends javax.servlet.http.HttpServlet
Constructor and Description |
---|
RedirectionServlet(int code,
java.lang.String path) |
RedirectionServlet(int code,
java.lang.String myPath,
java.lang.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, java.lang.String path)
public RedirectionServlet(int code, java.lang.String myPath, java.lang.String targetPath, int maxRedirects)
public int getRedirectCount()
protected void service(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, java.io.IOException
service
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
java.io.IOException
Copyright © 2003-2014. All Rights Reserved.