org.apache.wicket
Class RestartResponseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.wicket.AbortException
                  extended by org.apache.wicket.AbstractRestartResponseException
                      extended by 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

Constructor Summary
RestartResponseException(java.lang.Class pageClass)
          Redirects to the specified bookmarkable page
RestartResponseException(java.lang.Class pageClass, PageParameters params)
          Redirects to the specified bookmarkable page with the given page parameters
RestartResponseException(Page page)
          Redirects to the specified page
 
Method Summary
 
Methods inherited from class org.apache.wicket.AbortException
fillInStackTrace
 
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
 

Constructor Detail

RestartResponseException

public RestartResponseException(java.lang.Class pageClass)
Redirects to the specified bookmarkable page

Parameters:
pageClass - class of bookmarkable page

RestartResponseException

public RestartResponseException(java.lang.Class pageClass,
                                PageParameters params)
Redirects to the specified bookmarkable page with the given page parameters

Parameters:
pageClass - class of bookmarkable page
params - bookmarkable page parameters

RestartResponseException

public RestartResponseException(Page page)
Redirects to the specified page

Parameters:
page - redirect page


Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.