HttpRouteRedirectResponseCode

enum HttpRouteRedirectResponseCode : Enum<HttpRouteRedirectResponseCode> , ConvertibleToJava<HttpRouteRedirectResponseCode>

The HTTP Status code to use for the redirect.

Entries

Link copied to clipboard
Link copied to clipboard

Corresponds to 301.

Link copied to clipboard

Corresponds to 302.

Link copied to clipboard

Corresponds to 303.

Link copied to clipboard

Corresponds to 307. In this case, the request method will be retained.

Link copied to clipboard

Corresponds to 308. In this case, the request method will be retained.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun toJava(): HttpRouteRedirectResponseCode
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
val javaValue: HttpRouteRedirectResponseCode
Link copied to clipboard
Link copied to clipboard