Class URITemplate
java.lang.Object
org.jboss.resteasy.reactive.server.mapping.URITemplate
- All Implemented Interfaces:
Comparable<URITemplate>
,Dumpable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static enum
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal int
final int
final URITemplate.TemplateComponent[]
The components, first one is always the stem, so if the stem has been matched it can be ignoredfinal int
The number of characters that are literals in the path.final boolean
final String
final String
-
Constructor Summary
ConstructorsConstructorDescriptionURITemplate
(String template, boolean prefixMatch) URITemplate
(String template, String stem, int literalCharacterCount, int capturingGroups, int complexExpressions, URITemplate.TemplateComponent[] components, boolean prefixMatch) -
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(URITemplate uriTemplate) int
void
dump
(int level) toString()
-
Field Details
-
template
-
stem
-
literalCharacterCount
public final int literalCharacterCountThe number of characters that are literals in the path. According to the spec we need to sort by this. -
capturingGroups
public final int capturingGroups -
complexExpressions
public final int complexExpressions -
components
The components, first one is always the stem, so if the stem has been matched it can be ignored -
prefixMatch
public final boolean prefixMatch
-
-
Constructor Details
-
URITemplate
-
URITemplate
public URITemplate(String template, String stem, int literalCharacterCount, int capturingGroups, int complexExpressions, URITemplate.TemplateComponent[] components, boolean prefixMatch)
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<URITemplate>
-
countPathParamNames
public int countPathParamNames() -
toString
-
dump
public void dump(int level)
-