Matrix parameters representation type. ChURIMatrix by default.
Constructs a route referring the very first fragment of the path
.
Full URI path.
Rest
...options: ChURIMatrix<URICharge> extends TMatrixConstructor options.
Rest
Full URI path as it were passed to constructor.
Zero-based index of the path fragment this instance refers.
The length of the route contains the number of fragments.
Matrix parameters of the path fragment.
The path starting from this fragment.
The path is never URI-decoded.
Obtains the fragment of the path by relative index.
Index of target fragment relative to current one.
Either the fragment under the given index
, or undefined
if there is no such fragment.
Builds a string containing a serialized version of the path.
String representation of the path.
Protected
createCreates a fragment of the path at the given index
.
Calls class constructor by default.
Index of the path fragment.
New path fragment.
Generated using TypeDoc
A route representing parsed URI path.
Path consists of fragments separated by
"/" (U+002F)
symbols. An ChURIRoute instance refers to one of such fragments. Other fragments of the path may be accessed by their relative indices.