enum classafBedSheet::RedirectType
sys::Obj sys::Enum afBedSheet::RedirectType
@
Serializable { simple=true }
The type of Redirect.
- afterPost
const static RedirectType afterPost := ...
- fromStr
static new fromStr(Str name, Bool checked := true)
Return the RedirectType instance for the specified name. If not a valid name and checked is false return null, otherwise throw ParseErr.
- movedPermanently
const static RedirectType movedPermanently := ...
- movedTemporarily
const static RedirectType movedTemporarily := ...
- statusCode
Int statusCode(Version? httpVer := null)
Returns the HTTP status code associated with this redirect type, based on the given HTTP version. If the no HTTP version is given, it is assumed to be HTTP 1.1.
Note status codes only differ for HTTP 1.0.
- vals
const static RedirectType[] vals := ...
List of RedirectType values indexed by ordinal