|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kohsuke.stapler.HttpRedirect
public final class HttpRedirect
HttpResponse
that dose HTTP 302 redirect.
Constructor Summary | |
---|---|
HttpRedirect(java.lang.String url)
|
Method Summary | |
---|---|
static HttpResponse |
fromContextPath(java.lang.String relative)
|
void |
generateResponse(StaplerRequest req,
StaplerResponse rsp,
java.lang.Object node)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HttpRedirect(java.lang.String url)
Method Detail |
---|
public void generateResponse(StaplerRequest req, StaplerResponse rsp, java.lang.Object node) throws java.io.IOException, javax.servlet.ServletException
generateResponse
in interface HttpResponse
node
- The object whose "doXyz" method created this object.
java.io.IOException
javax.servlet.ServletException
public static HttpResponse fromContextPath(java.lang.String relative)
relative
- The path relative to the context path. The context path + this value
is sent to the user.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |