Uses of Enum Class
spark.Redirect.Status

Packages that use Redirect.Status
Package
Description
 
  • Uses of Redirect.Status in spark

    Methods in spark that return Redirect.Status
    Modifier and Type
    Method
    Description
    Redirect.Status.valueOf(String name)
    Returns the enum constant of this class with the specified name.
    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.Status
    Modifier and Type
    Method
    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.
    private static Route
    Redirect.redirectRoute(String toPath, Redirect.Status status)