High performance URI router based on radix trie structure.
resolvers += Resolver.bintrayRepo("fcomb", "maven")
libraryDependencies += "io.fcomb" %% "route-trie" % "0.4.0"
import io.fcomb.trie.RouteTrie
import io.fcomb.trie.RouteMethods._
val tree = RouteTrie[Int](
"/users" -> (GET, 1),
"/users/:id" -> (GET, 2),
"/files/*file" -> (POST, 3)
)
tree.get(GET, "/users/12") // will return Some((2, Some(OpenHashMap("id" -> "12"))))