|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.wicket.request.RequestHandlerStack.ReplaceHandlerException
org.apache.wicket.NonResettingRestartException
public class NonResettingRestartException
Causes Wicket to interrupt current request processing and immediately respond with the specified page. Does not reset the header meta data (e.g. cookies).
RestartResponseException,
Serialized Form| Constructor Summary | |
|---|---|
NonResettingRestartException(Class<? extends Page> pageClass)
Constructor. |
|
NonResettingRestartException(Class<? extends Page> pageClass,
PageParameters params)
Constructor. |
|
NonResettingRestartException(Class<? extends Page> pageClass,
PageParameters params,
RenderPageRequestHandler.RedirectPolicy redirectPolicy)
Constructor. |
|
NonResettingRestartException(IRequestHandler handler,
boolean removeAll)
Constructor. |
|
NonResettingRestartException(String redirectUrl)
Constructor. |
|
| Method Summary |
|---|
| Methods inherited from class org.apache.wicket.request.RequestHandlerStack.ReplaceHandlerException |
|---|
fillInStackTrace |
| Methods inherited from class java.lang.Throwable |
|---|
getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NonResettingRestartException(Class<? extends Page> pageClass)
pageClass - the class of the new page that should be rendered
public NonResettingRestartException(Class<? extends Page> pageClass,
PageParameters params)
pageClass - the class of the new page that should be renderedparams - the page parameters to use for the new page
public NonResettingRestartException(Class<? extends Page> pageClass,
PageParameters params,
RenderPageRequestHandler.RedirectPolicy redirectPolicy)
pageClass - the class of the new page that should be renderedparams - the page parameters to use for the new pageredirectPolicy - the policy that mandates whether to do a redirectpublic NonResettingRestartException(String redirectUrl)
redirectUrl - URL to redirect to.
public NonResettingRestartException(IRequestHandler handler,
boolean removeAll)
handler - the IRequestHandler to useremoveAll - a flag indicating whether to ignore all already scheduled IRequestHandlers before throwing
this exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||