|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectwicket.request.target.basic.RedirectRequestTarget
public class RedirectRequestTarget
A RequestTarget that will sent a redirect url to the browser. Use this if you
want to direct the browser to some external URL, like Google etc, immediantly.
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.
| Constructor Summary | |
|---|---|
RedirectRequestTarget(java.lang.String redirectUrl)
Construct. |
|
| Method Summary | |
|---|---|
void |
detach(RequestCycle requestCycle)
This method is alled on 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. |
java.lang.Object |
getLock(RequestCycle requestCycle)
Gets the lock to be used for synchronization. |
void |
respond(RequestCycle requestCycle)
Generates a response. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RedirectRequestTarget(java.lang.String redirectUrl)
redirectUrl - | Method Detail |
|---|
public void detach(RequestCycle requestCycle)
IRequestTarget
detach in interface IRequestTargetrequestCycle - the current request cycleIRequestTarget.detach(wicket.RequestCycle)public java.lang.Object getLock(RequestCycle requestCycle)
IRequestTarget
getLock in interface IRequestTargetrequestCycle - the current request cycle
IRequestTarget.getLock(wicket.RequestCycle)public void respond(RequestCycle requestCycle)
IRequestTarget
respond in interface IRequestTargetrequestCycle - the current request cycleIRequestTarget.respond(wicket.RequestCycle)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||