Route
Describes a node in a routing tree.
See also
Parameters
is a parent node in the tree, or null for root node.
is an instance of RouteSelector for this node.
is flag to switch report level for stack traces.
Constructors
Describes a node in a routing tree.
Functions
Creates a child node in this node with a given selector or returns an existing one with the same selector.
Installs a handler into this route which is called when the route is selected for a call.
Properties
Inheritors
Extensions
Gets an Application for this Route by scanning the hierarchy to the root.
Builds a route to match requests with the HttpHeaders.ContentType header matching the specified contentType.
Creates a routing entry for specified path.
Specifies resource as a default resources to serve when folder is requested
Creates a route to match a request's host and port. There are no any host resolutions/transformations applied to a host: a request host is treated as a string.
Creates a route to match a request host and port. There are no any host resolutions/transformations applied to a host: a request host is treated as a string.
Creates a route to match s request host and port. There are no any host resolutions/transformations applied to a host: a request host is treated as a string.
Builds a route to match PATCH
requests with the specified path.
Builds a route to match PATCH
requests.
Builds a route to match PATCH
requests receiving a request body as content of the R type.
Builds a route to match POST
requests with the specified path.
Builds a route to match POST
requests receiving a request body as content of the R type.
Builds a route to match POST
requests with the specified path receiving a request body as content of the R type.
Builds a route to match POST
requests.
Support pre-compressed files in the file system only (not just any classpath resource)
Builds a route to match PUT
requests with the specified path.
Builds a route to match PUT
requests.
Builds a route to match PUT
requests receiving a request body as content of the R type.
Sets up routing to serve resource as remotePath in resourcePackage
Sets up routing to serve all resources in resourcePackage
Serves a single-page application. You can learn more from Serving single-page applications.
Base package for relative resources calculations for static content
Base folder for relative files calculations for static content