public class RedirectPluginHTTPException extends PluginHTTPException
Modifier and Type | Field and Description |
---|---|
static short |
code |
java.lang.String |
newLocation |
location, message
Constructor and Description |
---|
RedirectPluginHTTPException(java.lang.String message,
java.lang.String newLocation)
Creates a new redirect exception.
|
RedirectPluginHTTPException(java.lang.String message,
java.lang.String location,
java.lang.String newLocation)
Deprecated.
use
RedirectPluginHTTPException(String, String)
instead |
public static final short code
public final java.lang.String newLocation
public RedirectPluginHTTPException(java.lang.String message, java.lang.String newLocation)
message
- The message to put in the replynewLocation
- The location to redirect to@Deprecated public RedirectPluginHTTPException(java.lang.String message, java.lang.String location, java.lang.String newLocation)
RedirectPluginHTTPException(String, String)
insteadmessage
- The message to put in the replylocation
- unsuednewLocation
- The location to redirect to