public class RestartResponseException extends ResetResponseException
NonResettingRestartException
,
Serialized FormConstructor and Description |
---|
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
|
fillInStackTrace, getRemoveScheduled, getReplacementRequestHandler, isRemoveAll
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
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 useCopyright © 2006–2022 Apache Software Foundation. All rights reserved.