@Test public void testSetsAndGetsUriTemplate() throws Exception { PathTemplate tmpl = new PathTemplate("/test"); PathPattern pattern = new PathPattern(tmpl); assertEquals( "We just injected the value, why it is different?", tmpl, pattern.getTemplate() ); }
public UriTemplate getTemplate() { return template; }
PathPattern extends PatternWithGroups { public UriTemplate getTemplate() { return template; } }
PathPattern extends PatternWithGroups { public UriTemplate getTemplate() { return template; } private  PathPattern();  PathPattern(String template);  PathPattern(PathTemplate template);  PathPattern(String template, RightHandPath rhpp);  PathPattern(PathTemplate template, RightHandPath rhpp); }
PathPattern extends PatternWithGroups { public UriTemplate getTemplate() { return template; } private  PathPattern();  PathPattern(String template);  PathPattern(PathTemplate template);  PathPattern(String template, RightHandPath rhpp);  PathPattern(PathTemplate template, RightHandPath rhpp); static PathPattern asClosed(PathPattern pattern); UriTemplate getTemplate(); }
PathPattern extends PatternWithGroups { public UriTemplate getTemplate() { return template; } private  PathPattern();  PathPattern(String template);  PathPattern(PathTemplate template);  PathPattern(String template, RightHandPath rhpp);  PathPattern(PathTemplate template, RightHandPath rhpp); static PathPattern asClosed(PathPattern pattern); UriTemplate getTemplate(); static final PathPattern EMPTY_PATTERN; static final PathPattern END_OF_PATH_PATTERN; static final PathPattern OPEN_ROOT_PATH_PATTERN; static final Comparator<PathPattern> COMPARATOR; }