Class RedirectToUrlException

  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.RedirectToUrlException
All Implemented Interfaces:

public class RedirectToUrlException
extends AbstractRestartResponseException

Causes wicket to interrupt current request processing and send a redirect to the given url. Use this if you want to redirect to an external or none wicket url. If you want to redirect to a page use the RestartResponseException

See Also:
RestartResponseException, RestartResponseAtInterceptPageException, Serialized Form

Constructor Summary
RedirectToUrlException(String url)
          Your URL should be one of the following: Fully qualified "" Relative to the Wicket filter/servlet, e.g.
Method Summary
Methods inherited from class org.apache.wicket.AbortException
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


public RedirectToUrlException(String url)
Your URL should be one of the following:

url - URL to redirect to.

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