public class MethodExpression extends Expression
Expression.Group
Modifier and Type | Field and Description |
---|---|
protected ResourceInvoker |
invoker |
protected SegmentNode |
parent |
GROUP, groups, literalCharacters, numCapturingGroups, numNonDefaultGroups, pathExpression, pattern, regex
Constructor and Description |
---|
MethodExpression(SegmentNode parent,
String segment,
ResourceInvoker invoker) |
MethodExpression(SegmentNode parent,
String segment,
ResourceInvoker invoker,
String additionalRegex) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Expression expression) |
ResourceInvoker |
getInvoker() |
boolean |
isLocator() |
void |
populatePathParams(HttpRequest request,
Matcher matcher,
String path) |
getNumGroups, getPathExpression, getPattern, getRegex, groupCount
protected SegmentNode parent
protected ResourceInvoker invoker
public MethodExpression(SegmentNode parent, String segment, ResourceInvoker invoker)
public MethodExpression(SegmentNode parent, String segment, ResourceInvoker invoker, String additionalRegex)
public int compareTo(Expression expression)
compareTo
in interface Comparable<Expression>
compareTo
in class Expression
public void populatePathParams(HttpRequest request, Matcher matcher, String path)
public boolean isLocator()
public ResourceInvoker getInvoker()
Copyright © 2017 JBoss by Red Hat. All rights reserved.