- All Implemented Interfaces:
Serializable
Causes Wicket to interrupt current request processing and immediately respond with the specified
page.
- Author:
- Igor Vaynberg (ivaynberg)
- See Also:
-
Constructor Summary
ConstructorDescriptionRestartResponseException
(Class<C> pageClass) Redirects to the specified bookmarkable pageRestartResponseException
(Class<C> pageClass, PageParameters params) Redirects to the specified bookmarkable page with the given page parametersRestartResponseException
(IPageProvider pageProvider, RenderPageRequestHandler.RedirectPolicy redirectPolicy) Redirects to the page provided by the passedpageProvider
using the explicitredirectPolicy
Redirects to the specified page -
Method Summary
Methods inherited from class org.apache.wicket.request.RequestHandlerExecutor.ReplaceHandlerException
fillInStackTrace, getRemoveScheduled, getReplacementRequestHandler
Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RestartResponseException
Redirects to the specified bookmarkable page- Type Parameters:
C
- The page type- Parameters:
pageClass
- class of bookmarkable page
-
RestartResponseException
Redirects to the specified bookmarkable page with the given page parameters- Type Parameters:
C
- The page type- Parameters:
pageClass
- class of bookmarkable pageparams
- bookmarkable page parameters
-
RestartResponseException
Redirects to the specified page- Parameters:
page
- redirect page
-
RestartResponseException
public RestartResponseException(IPageProvider pageProvider, RenderPageRequestHandler.RedirectPolicy redirectPolicy) Redirects to the page provided by the passedpageProvider
using the explicitredirectPolicy
- Parameters:
pageProvider
- the provider for the pageredirectPolicy
- the redirect policy to use
-