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:
- java.io.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
Methods inherited from class java.lang.Throwable |
getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RestartResponseException
public RestartResponseException(java.lang.Class<C> pageClass)
- Redirects to the specified bookmarkable page
- Type Parameters:
C
- The page type- Parameters:
pageClass
- class of bookmarkable page
RestartResponseException
public RestartResponseException(java.lang.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-2009 Apache Software Foundation. All Rights Reserved.