RouteMatcher tree = new RouteMatcher();
tree.addMapping(new UriMapping("/", HelloWorld.class));
tree.addMapping(new UriMapping("/test", HelloWorld.class));
tree.addMapping(new UriMapping("/test/*filenames", HelloWorld.class));
tree.addMapping(new UriMapping("/test/:id", HelloWorld.class));
tree.addMapping(new UriMapping("/test/:name/:id", HelloWorld.class));
tree.addMapping(new UriMapping("/test/idmatch/:id", HelloWorld.class));
tree.addMapping(new UriMapping("/test/idmatch/namematch", HelloWorld.class));