org.apache.wicket
Class RestartResponseAtInterceptPageException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.wicket.AbortException
org.apache.wicket.AbstractRestartResponseException
org.apache.wicket.RestartResponseAtInterceptPageException
- All Implemented Interfaces:
- Serializable
public class RestartResponseAtInterceptPageException
- extends AbstractRestartResponseException
Causes Wicket to interrupt current request processing and immediately redirect to an intercept
page.
Similar to calling redirectToInteceptPage(Page) with the difference that this exception will
interrupt processing of the current request.
- Author:
- Igor Vaynberg (ivaynberg), Jonathan Locke, Philip Chapman
- See Also:
PageMap.redirectToInterceptPage(Page)
,
Component.redirectToInterceptPage(Page)
,
Serialized Form
RestartResponseAtInterceptPageException
public RestartResponseAtInterceptPageException(Page interceptPage)
- Redirects to the specified intercept page.
- Parameters:
interceptPage
- redirect page
RestartResponseAtInterceptPageException
public RestartResponseAtInterceptPageException(Class<C> interceptPageClass)
- Redirects to the specified intercept page, this will result in a bookmarkable redirect.
- Type Parameters:
C
- The page type- Parameters:
interceptPageClass
- Class of intercept page to instantiate
Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.