package internal
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
-
class
Conversion[T, V] extends AnyRef
- Annotations
- @implicitNotFound( "Cannot return ${T} as a ${V}" )
-
case class
DispatchTrie[T](current: Option[(T, Boolean)], children: Map[String, DispatchTrie[T]]) extends Product with Serializable
A simple Trie that can be compiled from a list of endpoints, to allow endpoint lookup in O(length-of-request-path) time.
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 whencurrent._2 == true
, indicating this route allows trailing segments)
Value Members
- object Conversion
- object DispatchTrie extends Serializable
- object Util