com.samskivert.servlet
Class RedirectException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.samskivert.servlet.RedirectException
- All Implemented Interfaces:
- Serializable
public class RedirectException
- extends Exception
A redirect exception is thrown by servlet services when they require
that the user be redirected to a different URL rather than continue
processing this request. It is expected that redirect handling can be
implemented in a single place such that servlets can simply allow this
exception to propagate up to the proper handler which will then issue
the appropriate redirect header.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
RedirectException
public RedirectException(String url)
getRedirectURL
public String getRedirectURL()
Copyright © 2000-2008 Michael Bayne.
All Rights Reserved.