@Test public void anyPathMatcher() throws Exception { HandlerRoute rr = new HandlerRoute(null, VOID_HANDLER); final String path = "/foo"; PathMatcher.Result result = rr.match(path); assertThat(result.matches(), is(true)); assertThat(result.params().isEmpty(), is(true)); }
public PathMatcher.Result match(CharSequence path) { return pathMatcher.match(path); }
HandlerRoute implements Route { public PathMatcher.Result match(CharSequence path) { return pathMatcher.match(path); } }
HandlerRoute implements Route { public PathMatcher.Result match(CharSequence path) { return pathMatcher.match(path); } HandlerRoute(List<Service> serviceContext, PathMatcher pathMatcher, Handler handler, Iterable<Http.RequestMethod> methods);   HandlerRoute(List<Service> serviceContext, PathMatcher pathMatcher, Handler handler, Http.RequestMethod... methods);   HandlerRoute(List<Service> serviceContext, Handler handler, Http.RequestMethod... methods);   HandlerRoute(List<Service> serviceContext, Handler handler, Iterable<Http.RequestMethod> methods); }
HandlerRoute implements Route { public PathMatcher.Result match(CharSequence path) { return pathMatcher.match(path); } HandlerRoute(List<Service> serviceContext, PathMatcher pathMatcher, Handler handler, Iterable<Http.RequestMethod> methods);   HandlerRoute(List<Service> serviceContext, PathMatcher pathMatcher, Handler handler, Http.RequestMethod... methods);   HandlerRoute(List<Service> serviceContext, Handler handler, Http.RequestMethod... methods);   HandlerRoute(List<Service> serviceContext, Handler handler, Iterable<Http.RequestMethod> methods); @Override Set<Http.RequestMethod> acceptedMethods(); @Override boolean accepts(Http.RequestMethod method); Handler handler(); Map<String, String> diagnosticEvent(); PathMatcher.Result match(CharSequence path); @Override String toString(); }
HandlerRoute implements Route { public PathMatcher.Result match(CharSequence path) { return pathMatcher.match(path); } HandlerRoute(List<Service> serviceContext, PathMatcher pathMatcher, Handler handler, Iterable<Http.RequestMethod> methods);   HandlerRoute(List<Service> serviceContext, PathMatcher pathMatcher, Handler handler, Http.RequestMethod... methods);   HandlerRoute(List<Service> serviceContext, Handler handler, Http.RequestMethod... methods);   HandlerRoute(List<Service> serviceContext, Handler handler, Iterable<Http.RequestMethod> methods); @Override Set<Http.RequestMethod> acceptedMethods(); @Override boolean accepts(Http.RequestMethod method); Handler handler(); Map<String, String> diagnosticEvent(); PathMatcher.Result match(CharSequence path); @Override String toString();  }