enum classafBedSheet::HttpRedirectType
sys::Obj sys::Enum afBedSheet::HttpRedirectType
@
Serializable { simple=true }
The type of HttpRedirect.
- afterPost
const static HttpRedirectType afterPost := ...
- fromStr
static new fromStr(Str name, Bool checked := true)
Return the HttpRedirectType instance for the specified name. If not a valid name and checked is false return null, otherwise throw ParseErr.
- movedPermanently
const static HttpRedirectType movedPermanently := ...
- movedTemporarily
const static HttpRedirectType 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 HttpRedirectType[] vals := ...
List of HttpRedirectType values indexed by ordinal