@Test public void testToString() { final String path = "/foo/<bar>/baz/<quux:path>"; final String method = "GET"; assertThat(Route.of(method, path).toString(), is(method + " " + path)); }
@Override public String toString() { return method + " " + path; }
Route { @Override public String toString() { return method + " " + path; } }
Route { @Override public String toString() { return method + " " + path; } private  Route(final String method, final Path path); }
Route { @Override public String toString() { return method + " " + path; } private  Route(final String method, final Path path); String method(); String pathString(); List<String> captureNames(); List<ParameterType> captureParameterTypes(); @Override String toString(); static Route of(final CharSequence method, final CharSequence uri); }
Route { @Override public String toString() { return method + " " + path; } private  Route(final String method, final Path path); String method(); String pathString(); List<String> captureNames(); List<ParameterType> captureParameterTypes(); @Override String toString(); static Route of(final CharSequence method, final CharSequence uri);  }