Description

Redirect route will perform an immediate redirect. Redirect routes are useful when you want to have Routing layer redirects occur in your application, for when URLs move. Redirection is signalled by an exception that halts route matching and defines the redirect URL and status code.

Properties

Methods

InheritedAbstractFinalStaticDatatypeHeader
voidvoid setStatus(int statusCode)
Json[string]Json[string] parse(string urlToParse, string httpMethod = null)
this(stringthis(string templateText, Json[string] defaults = [], Json[string] options = null)
stringstring match(Json[string] urlParameters, Json[string] contextParameters = null)