wicket
Class RestartResponseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by wicket.AbortException
                  extended by wicket.AbstractRestartResponseException
                      extended by 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 java.lang.Throwable
fillInStackTrace, 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-2007 Wicket developers. All Rights Reserved.