Package | Description |
---|---|
spark |
Modifier and Type | Method and Description |
---|---|
static Redirect.Status |
Redirect.Status.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Redirect.Status[] |
Redirect.Status.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Redirect.any(String fromPath,
String toPath,
Redirect.Status status)
Redirects any HTTP request of type GET, POST, PUT, DELETE on 'fromPath' to 'toPath' with the provided redirect
'status' code.
|
void |
Redirect.delete(String fromPath,
String toPath,
Redirect.Status status)
Redirects any HTTP request of type DELETE on 'fromPath' to 'toPath' with the provided redirect 'status' code.
|
void |
Redirect.get(String fromPath,
String toPath,
Redirect.Status status)
Redirects any HTTP request of type GET on 'fromPath' to 'toPath' with the provided redirect 'status' code.
|
void |
Redirect.post(String fromPath,
String toPath,
Redirect.Status status)
Redirects any HTTP request of type POST on 'fromPath' to 'toPath' with the provided redirect 'status' code.
|
void |
Redirect.put(String fromPath,
String toPath,
Redirect.Status status)
Redirects any HTTP request of type PUT on 'fromPath' to 'toPath' with the provided redirect 'status' code.
|
Copyright © 2016. All rights reserved.