public final class RedirectException extends RequestHandlerStack.ReplaceHandlerException
Constructor and Description |
---|
RedirectException(String _location,
int _statusCode)
Constructs a RedirectException.
|
fillInStackTrace
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public RedirectException(String _location, int _statusCode)
_location
- the redirection target, to be used as the HTTP Location field
in the response._statusCode
- the HTTP status code. Only 301 and 303 are tested.