Uses of Enum Class
spark.Redirect.Status
Packages that use Redirect.Status
-
Uses of Redirect.Status in spark
Methods in spark that return Redirect.StatusModifier and TypeMethodDescriptionstatic Redirect.Status
Returns the enum constant of this class with the specified name.static Redirect.Status[]
Redirect.Status.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in spark with parameters of type Redirect.StatusModifier and TypeMethodDescriptionvoid
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.private static Route
Redirect.redirectRoute
(String toPath, Redirect.Status status)