Uses of Class
spark.Redirect.Status
-
Packages that use Redirect.Status Package Description spark -
-
Uses of Redirect.Status in spark
Methods in spark that return Redirect.Status Modifier and Type Method Description static Redirect.Status
Redirect.Status. valueOf(java.lang.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.Methods in spark with parameters of type Redirect.Status Modifier and Type Method Description void
Redirect. any(java.lang.String fromPath, java.lang.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(java.lang.String fromPath, java.lang.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(java.lang.String fromPath, java.lang.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(java.lang.String fromPath, java.lang.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(java.lang.String fromPath, java.lang.String toPath, Redirect.Status status)
Redirects any HTTP request of type PUT on 'fromPath' to 'toPath' with the provided redirect 'status' code.private static Route
Redirect. redirectRoute(java.lang.String toPath, Redirect.Status status)
-