A node in a routing tree modeling the composition of middleware functions and route handlers.
More precisely, this is a node in a graph representing a set of possible routing trees, as the concrete shape of the routing tree may be depend on branching control flow.
Each node represents a function that can receive an incoming request, though not necessarily a function with an explicit body in the source code.
A node may either consume the request, dispatching to its first child, or pass it on to its successor in the tree. The successor is the next sibling, or in case there is no next sibling, it is the next sibling of the first ancestor that has a next sibling.
Known direct subtypes
Gets a child of this node in the routing tree.
Gets the first child of this node in the routing tree.
Gets the last child of this node in the routing tree.
Gets the next sibling of this node in the routing tree.
Gets an HTTP method name which this node will accept, or nothing if the node accepts all HTTP methods, not taking into account the context from ancestors or children nodes.
Gets the parent of this node in the routing tree.
Gets the previous sibling of this node in the routing tree.
Gets a path prefix to be matched against the path of incoming requests.
Gets the root node of this node in the routing tree.
Gets a place where this route node is installed as a route handler.
Gets a node whose value can be accessed via the given access path on the
Holds if this element is at the specified location. The location spans column
Holds if the middleware corresponding to
Holds if this node may invoke its continuation after having dispatched the request to its children, that is, the incoming request may be partially processed by this subtree, and subsequently passed on to the successor.
Gets a textual representation of this element.