@Test public void get_pattern() throws Exception { final UrlPattern pattern = new UrlPattern("$0 $1 ${host}", PARAMS_WITH_HOST); assertEquals("${0} ${1} ${host}", pattern.getUrlTemplate().toString()); }
@Override public String toString() { return urlTemplate.toString(); }
UrlPattern { @Override public String toString() { return urlTemplate.toString(); } }
UrlPattern { @Override public String toString() { return urlTemplate.toString(); } UrlPattern(@NonNull StringTemplate urlTemplate, @NonNull NameBoundResolver templateArgs);  UrlPattern(String urlTemplate, NameBoundResolver templateArgs); }
UrlPattern { @Override public String toString() { return urlTemplate.toString(); } UrlPattern(@NonNull StringTemplate urlTemplate, @NonNull NameBoundResolver templateArgs);  UrlPattern(String urlTemplate, NameBoundResolver templateArgs); Stream<Map.Entry<GroupName, String>> getUrls(); @Override String toString(); }
UrlPattern { @Override public String toString() { return urlTemplate.toString(); } UrlPattern(@NonNull StringTemplate urlTemplate, @NonNull NameBoundResolver templateArgs);  UrlPattern(String urlTemplate, NameBoundResolver templateArgs); Stream<Map.Entry<GroupName, String>> getUrls(); @Override String toString();  }