HttpRedirectActionRedirectResponseCode enum

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.

Inheritance
  • Object
  • Enum
  • HttpRedirectActionRedirectResponseCode
Available extensions

Values

found → const HttpRedirectActionRedirectResponseCode
const HttpRedirectActionRedirectResponseCode("FOUND")
movedPermanentlyDefault → const HttpRedirectActionRedirectResponseCode
const HttpRedirectActionRedirectResponseCode("MOVED_PERMANENTLY_DEFAULT")
permanentRedirect → const HttpRedirectActionRedirectResponseCode
const HttpRedirectActionRedirectResponseCode("PERMANENT_REDIRECT")
seeOther → const HttpRedirectActionRedirectResponseCode
const HttpRedirectActionRedirectResponseCode("SEE_OTHER")
temporaryRedirect → const HttpRedirectActionRedirectResponseCode
const HttpRedirectActionRedirectResponseCode("TEMPORARY_REDIRECT")

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
wireValue → String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

values → const List<HttpRedirectActionRedirectResponseCode>
A constant List of the values in this enum, in order of their declaration.