cask.internal.DispatchTrie
See theDispatchTrie companion object
A simple Trie that can be compiled from a list of endpoints, to allow
endpoint lookup in O(length-of-request-path) time. Lookup returns the
T this trie contains, as well as a map of bound wildcards (path
segments starting with :
) and any remaining un-used path segments
(only when current._2 == true
, indicating this route allows trailing
segments)
Attributes
- Companion:
- object
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any