org.jboss.resteasy.core.registry
public class PathParamSegment extends Segment implements Comparable<PathParamSegment>
Modifier and Type | Field and Description |
---|---|
static Pattern |
GROUP |
protected List<org.jboss.resteasy.core.registry.PathParamSegment.Group> |
groups |
protected int |
literalCharacters |
protected int |
numCapturingGroups |
protected int |
numNonDefaultGroups |
protected String |
pathExpression |
protected Pattern |
pattern |
protected String |
regex |
locator, methods, RESTEASY_CHOSEN_ACCEPT
Constructor and Description |
---|
PathParamSegment(String segment) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(PathParamSegment pathParamSegment) |
String |
getPathExpression() |
String |
getRegex() |
ResourceInvoker |
matchPattern(HttpRequest request,
String path,
int start) |
static int |
pathSegmentIndex(String string,
int start,
int stop) |
protected void |
populatePathParams(HttpRequest request,
Matcher matcher,
String path) |
protected String pathExpression
protected String regex
protected Pattern pattern
protected List<org.jboss.resteasy.core.registry.PathParamSegment.Group> groups
protected int literalCharacters
protected int numCapturingGroups
protected int numNonDefaultGroups
public static final Pattern GROUP
public PathParamSegment(String segment)
public int compareTo(PathParamSegment pathParamSegment)
compareTo
in interface Comparable<PathParamSegment>
public String getRegex()
public String getPathExpression()
protected void populatePathParams(HttpRequest request, Matcher matcher, String path)
public ResourceInvoker matchPattern(HttpRequest request, String path, int start)
public static int pathSegmentIndex(String string, int start, int stop)
Copyright © 2015. All Rights Reserved.