|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException org.apache.wicket.request.RequestHandlerStack.ReplaceHandlerException org.apache.wicket.request.flow.ResetResponseException org.apache.wicket.RestartResponseException
public class RestartResponseException
Causes Wicket to interrupt current request processing and immediately respond with the specified page.
NonResettingRestartException
,
Serialized FormConstructor Summary | |
---|---|
RestartResponseException(Class<C> pageClass)
Redirects to the specified bookmarkable page |
|
RestartResponseException(Class<C> pageClass,
PageParameters params)
Redirects to the specified bookmarkable page with the given page parameters |
|
RestartResponseException(IPageProvider pageProvider,
RenderPageRequestHandler.RedirectPolicy redirectPolicy)
Redirects to the page provided by the passed pageProvider using the explicit
redirectPolicy |
|
RestartResponseException(IRequestablePage page)
Redirects to the specified page |
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 RestartResponseException(Class<C> pageClass)
C
- The page typepageClass
- class of bookmarkable pagepublic RestartResponseException(Class<C> pageClass, PageParameters params)
C
- The page typepageClass
- class of bookmarkable pageparams
- bookmarkable page parameterspublic RestartResponseException(IRequestablePage page)
page
- redirect pagepublic RestartResponseException(IPageProvider pageProvider, RenderPageRequestHandler.RedirectPolicy redirectPolicy)
pageProvider
using the explicit
redirectPolicy
pageProvider
- the provider for the pageredirectPolicy
- the redirect policy to use
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |