Class RestartResponseException

All Implemented Interfaces:
Serializable

Causes Wicket to interrupt current request processing and immediately respond with the specified page.
Author:
Igor Vaynberg (ivaynberg)
See Also:
  • Constructor Details

    • 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 page
      params - bookmarkable page parameters
    • RestartResponseException

      Redirects to the specified page
      Parameters:
      page - redirect page
    • RestartResponseException

      Redirects to the page provided by the passed pageProvider using the explicit redirectPolicy
      Parameters:
      pageProvider - the provider for the page
      redirectPolicy - the redirect policy to use