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 classstatic enum -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal intfinal intfinal URITemplate.TemplateComponent[]The components, first one is always the stem, so if the stem has been matched it can be ignoredfinal intThe number of characters that are literals in the path.final booleanfinal Stringfinal 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 TypeMethodDescriptionintcompareTo(URITemplate uriTemplate) intvoiddump(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:
compareToin interfaceComparable<URITemplate>
-
countPathParamNames
public int countPathParamNames() -
toString
-
dump
public void dump(int level)
-