public class SegmentNode extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
SegmentNode.Match |
protected class |
SegmentNode.SortEntry |
static class |
SegmentNode.SortFactor |
Modifier and Type | Field and Description |
---|---|
protected Map<String,SegmentNode> |
children |
static List<MediaType> |
DEFAULT_ACCEPTS |
static String |
RESTEASY_CHOSEN_ACCEPT |
protected String |
segment |
protected List<MethodExpression> |
targets |
static MediaType[] |
WILDCARD_ARRAY |
Constructor and Description |
---|
SegmentNode(String segment) |
Modifier and Type | Method and Description |
---|---|
protected void |
addExpression(MethodExpression expression) |
static SegmentNode.SortFactor |
createSortFactor(MediaType client,
MediaType server) |
ResourceInvoker |
match(HttpRequest request,
int start) |
SegmentNode.Match |
match(List<SegmentNode.Match> matches,
String httpMethod,
HttpRequest request) |
void |
potentials(String path,
int start,
List<MethodExpression> matches) |
public static final String RESTEASY_CHOSEN_ACCEPT
public static final MediaType[] WILDCARD_ARRAY
protected String segment
protected Map<String,SegmentNode> children
protected List<MethodExpression> targets
public SegmentNode(String segment)
public ResourceInvoker match(HttpRequest request, int start)
public void potentials(String path, int start, List<MethodExpression> matches)
public static SegmentNode.SortFactor createSortFactor(MediaType client, MediaType server)
public SegmentNode.Match match(List<SegmentNode.Match> matches, String httpMethod, HttpRequest request)
protected void addExpression(MethodExpression expression)
Copyright © 2014. All Rights Reserved.