enum classafBedSheet::RedirectType

sys::Obj
  sys::Enum
    afBedSheet::RedirectType

@Serializable { simple=true }

The type of Redirect.

afterPost

Source

const static RedirectType afterPost := ...

fromStr

Source

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

Source

const static RedirectType movedPermanently := ...

movedTemporarily

Source

const static RedirectType 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 RedirectType[] vals := ...

List of RedirectType values indexed by ordinal