enum classafBedSheet::HttpRedirectType

sys::Obj
  sys::Enum
    afBedSheet::HttpRedirectType

@Serializable { simple=true }

The type of HttpRedirect.

afterPost

Source

const static HttpRedirectType afterPost := ...

fromStr

Source

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

Source

const static HttpRedirectType movedPermanently := ...

movedTemporarily

Source

const static HttpRedirectType movedTemporarily := ...

statusCode

Source

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

Source

const static HttpRedirectType[] vals := ...

List of HttpRedirectType values indexed by ordinal