@Test public void rawPattern() { final PathPattern pattern = new RegexPathPattern( Pattern.compile("\\/names\\/([a-zA-Z]*)\\/formulas\\/([a-zA-Z0-9/*+-=]*)\\/text")); final String raw = pattern.raw(); assertEquals("\\/names\\/([a-zA-Z]*)\\/formulas\\/([a-zA-Z0-9/*+-=]*)\\/text", raw); }
@Override public String raw() { return pattern.pattern(); }
RegexPathPattern implements PathPattern { @Override public String raw() { return pattern.pattern(); } }
RegexPathPattern implements PathPattern { @Override public String raw() { return pattern.pattern(); } RegexPathPattern(Pattern pattern, String ... varNames); }
RegexPathPattern implements PathPattern { @Override public String raw() { return pattern.pattern(); } RegexPathPattern(Pattern pattern, String ... varNames); @Override String raw(); @Override Path match(String path); @Override boolean matches(String path); @Override List<PathParamName> varNames(); }
RegexPathPattern implements PathPattern { @Override public String raw() { return pattern.pattern(); } RegexPathPattern(Pattern pattern, String ... varNames); @Override String raw(); @Override Path match(String path); @Override boolean matches(String path); @Override List<PathParamName> varNames();  }