HttpRedirectActionRedirectResponseCode

enum HttpRedirectActionRedirectResponseCode : Enum<HttpRedirectActionRedirectResponseCode> , ConvertibleToJava<HttpRedirectActionRedirectResponseCode>

The HTTP Status code to use for this RedirectAction. Supported values are: - MOVED_PERMANENTLY_DEFAULT, which is the default value and corresponds to 301. - FOUND, which corresponds to 302. - SEE_OTHER which corresponds to 303. - TEMPORARY_REDIRECT, which corresponds to 307. In this case, the request method is retained. - PERMANENT_REDIRECT, which corresponds to 308. In this case, the request method is retained.

Entries

Link copied to clipboard

Http Status Code 302 - Found.

Link copied to clipboard

Http Status Code 301 - Moved Permanently.

Link copied to clipboard

Http Status Code 308 - Permanent Redirect maintaining HTTP method.

Link copied to clipboard

Http Status Code 303 - See Other.

Link copied to clipboard

Http Status Code 307 - Temporary Redirect maintaining HTTP method.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun toJava(): HttpRedirectActionRedirectResponseCode
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: HttpRedirectActionRedirectResponseCode
Link copied to clipboard
Link copied to clipboard