Description

An exception subclass used by routing and application code to trigger a redirect. The URL and status code are provided as constructor arguments. ``` throw new DRedirectException("http://example.com/some/path", 301); ``` Additional headers can also be provided in the constructor, or using the headers() method.

Properties

Methods

InheritedAbstractFinalStaticDatatypeHeader
this(stringthis(string redirectUrl, int statusCode = 302, Json[string] headerToSend = null)