org.apache.wicket
Class RestartResponseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.wicket.AbortException
org.apache.wicket.AbstractRestartResponseException
org.apache.wicket.RestartResponseException
- All Implemented Interfaces:
- Serializable
public class RestartResponseException
- extends AbstractRestartResponseException
Causes wicket to interrupt current request processing and immediately respond with the specified
page.
- Author:
- Igor Vaynberg (ivaynberg)
- See Also:
- Serialized Form
RestartResponseException
public RestartResponseException(Class<C> pageClass)
- Redirects to the specified bookmarkable page
- Type Parameters:
C
- The page type- Parameters:
pageClass
- class of bookmarkable page
RestartResponseException
public RestartResponseException(Class<C> pageClass,
PageParameters params)
- 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
public RestartResponseException(Page page)
- Redirects to the specified page
- Parameters:
page
- redirect page
Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.