/** * Public constructor. * @param template The template */ public PathPattern(final UriTemplate template) { super( PathPattern.postfixWithCapturingGroup(template.getPattern().getRegex()), PathPattern.indexCapturingGroup(template.getPattern().getGroupIndexes()) ); this.template = template; }
/** * Public ctor. * @param template The template * @param rightHandSide Right hand side of the template */ public PathPattern(final UriTemplate template, final String rightHandSide) { super( PathPattern.postfixWithCapturingGroup( template.getPattern().getRegex(), rightHandSide ), PathPattern.indexCapturingGroup(template.getPattern().getGroupIndexes()) ); this.template = template; }
/** * Public constructor. * @param template The template */ public PathPattern(final UriTemplate template) { super( PathPattern.postfixWithCapturingGroup(template.getPattern().getRegex()), PathPattern.indexCapturingGroup(template.getPattern().getGroupIndexes()) ); this.template = template; }
/** * Public constructor. * @param template The template */ public PathPattern(final UriTemplate template) { super( PathPattern.postfixWithCapturingGroup(template.getPattern().getRegex()), PathPattern.indexCapturingGroup(template.getPattern().getGroupIndexes()) ); this.template = template; }
/** * Public ctor. * @param template The template * @param rightHandSide Right hand side of the template */ public PathPattern(final UriTemplate template, final String rightHandSide) { super( PathPattern.postfixWithCapturingGroup( template.getPattern().getRegex(), rightHandSide ), PathPattern.indexCapturingGroup(template.getPattern().getGroupIndexes()) ); this.template = template; }
/** * Public ctor. * @param template The template * @param rightHandSide Right hand side of the template */ public PathPattern(final UriTemplate template, final String rightHandSide) { super( PathPattern.postfixWithCapturingGroup( template.getPattern().getRegex(), rightHandSide ), PathPattern.indexCapturingGroup(template.getPattern().getGroupIndexes()) ); this.template = template; }