Module org.apache.wicket.core
Package org.apache.wicket
Class RestartResponseAtInterceptPageException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.wicket.request.RequestHandlerExecutor.ReplaceHandlerException
org.apache.wicket.request.flow.ResetResponseException
org.apache.wicket.RestartResponseAtInterceptPageException
- All Implemented Interfaces:
Serializable
Causes Wicket to interrupt current request processing and immediately redirect to an intercept
page.
- See Also:
-
Constructor Summary
ConstructorDescriptionRestartResponseAtInterceptPageException
(Class<? extends Page> interceptPageClass) Redirects to the specified intercept page, this will result in a bookmarkable redirect.RestartResponseAtInterceptPageException
(Class<? extends Page> interceptPageClass, PageParameters parameters) Redirects to the specified intercept page, this will result in a bookmarkable redirect.RestartResponseAtInterceptPageException
(Page interceptPage) Redirects to the specifiedinterceptPage
. -
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
-
RestartResponseAtInterceptPageException
Redirects to the specifiedinterceptPage
.- Parameters:
interceptPage
-
-
RestartResponseAtInterceptPageException
Redirects to the specified intercept page, this will result in a bookmarkable redirect.- Parameters:
interceptPageClass
-
-
RestartResponseAtInterceptPageException
public RestartResponseAtInterceptPageException(Class<? extends Page> interceptPageClass, PageParameters parameters) Redirects to the specified intercept page, this will result in a bookmarkable redirect.- Parameters:
interceptPageClass
-parameters
-
-
-
Method Details
-
getOriginalUrl
- Returns:
- the url of the request when the interception happened or
null
ornull
if there was no interception yet
-
getOriginalPostParameters
- Returns:
- the post parameters of thе request when the interception happened
or
null
if there was no interception yet
-