|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.request.target.basic.RedirectRequestTarget
public class RedirectRequestTarget
A RequestTarget that will send a redirect url to the browser. Use this if you want to direct the
browser to some external URL, like Google etc, immediately. Or if you want to redirect to a
Wicket page.
If you want to redirect with a delay the RedirectPage
will do a meta tag redirect with a
delay.
RedirectPageRequestTarget
Constructor Summary | |
---|---|
RedirectRequestTarget(String redirectUrl)
Your URL should be one of the following: Fully qualified "http://foo.com/bar" Relative to the Wicket filter/servlet, e.g. |
Method Summary | |
---|---|
void |
detach(RequestCycle requestCycle)
This method is called at the end of a request cycle to indicate that processing is done and that cleaning up of the subject(s) of this target may be done. |
void |
respond(RequestCycle requestCycle)
FIXME javadoc - what's special about this implementation? |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RedirectRequestTarget(String redirectUrl)
redirectUrl
- URL to redirect to.Method Detail |
---|
public void detach(RequestCycle requestCycle)
IRequestTarget
detach
in interface IRequestTarget
requestCycle
- the current request cycleIRequestTarget.detach(org.apache.wicket.RequestCycle)
public void respond(RequestCycle requestCycle)
respond
in interface IRequestTarget
requestCycle
- the current request cycleIRequestTarget.respond(org.apache.wicket.RequestCycle)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |