A single Route used by the Router to connect requests to parameter maps. Not normally created as a standalone. Use Router.connect() to create Routes for your application.
Inherited | Abstract | Final | Static | Datatype | Header |
---|---|---|---|---|---|
string | string PLACEHOLDER_REGEX = "#\ | ||||
void | void setPersist(Json[string] routings) | ||||
this(string | this(string mytemplate, Json[string] _defaultValues = null, Json[string] options = null) | ||||
Json[string] | Json[string] _persistParams(Json[string] url, Json[string] options) | ||||
void | void setMethods(string[] httpMethods) | ||||
bool | bool _matchMethod(Json[string] url) | ||||
Json[string] | Json[string] parseRequest(IServerRequest myrequest) | ||||
static | static __set_state(Json[string] fieldNames) | ||||
void | void setHost(string hostName) | ||||
void | void _writeRoute() | ||||
string | string _writeUrl(Json[string] options, Json[string] mypass = null, Json[string] query = null) | ||||
void | void setPatterns(Json[string] mypatterns) | ||||
void | void setMiddleware(Json[string] mymiddleware) | ||||
string | string compile() | ||||
this(string | this(string newName) | ||||
string | string staticPath() | ||||
Json[string] | Json[string] getMiddleware() | ||||
string[] | string[] normalizeAndValidateMethods(string[] methods) | ||||
string | string name() | ||||
Json[string] | Json[string] _parseExtension(string urlToParse) | ||||
void | void setExtensions(string[] myextensions) | ||||
string | string match(Json[string] url, Json[string] requestContext= null) | ||||
string[] | string[] _parseArgs(string argument, Json[string] routeContext) | ||||
bool | bool compiled() | ||||
bool | bool hostMatches(string hostName) | ||||
string[] | string[] getExtensions() | ||||
this(Json[string] | this(Json[string] initData) | ||||
bool | bool initialize(Json[string] initData = null) | ||||
void | void setPass(string[] parameterNames) | ||||
Json[string] | Json[string] parse(string urlToParse, string httpMethod) | ||||
this() | this() |