
+ class Route[T] {
	+ handler: T
	- args: Array[RouteArg]

	+ fn params(path: String) Map[String] {
		let result = Map[String]{}
		let parts = path.split("/") 
		each this.args as arg {
			let p = parts.get(arg.i) ! break
			result.set(arg.name, p)
		}
		return result
	}
}
