org.apache.wicket
Class RedirectException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.wicket.AbortException
org.apache.wicket.AbstractRestartResponseException
org.apache.wicket.RestartResponseException
org.apache.wicket.RedirectException
- All Implemented Interfaces:
- Serializable
public class RedirectException
- extends RestartResponseException
client-Side redirect to wicket page.
sends http status '302 Moved' with response header 'Location: {my-page-url}'
to the client to enforce a client-side redirect. The client will request the
new page with another HTTP GET request and the url in the address bar of
the browser will be updated.
- Author:
- Peter Ertl
- See Also:
- Serialized Form
RedirectException
public RedirectException(Class<? extends Page> pageClass)
- redirect to page
- Parameters:
pageClass
- page class
RedirectException
public RedirectException(Class<? extends Page> pageClass,
PageParameters params)
- redirect to page
- Parameters:
pageClass
- page classparams
- page parameters
Copyright © 2004–2014 Apache Software Foundation. All rights reserved.