Class URITemplate.TemplateComponent
- java.lang.Object
-
- org.jboss.resteasy.reactive.server.mapping.URITemplate.TemplateComponent
-
- All Implemented Interfaces:
Dumpable
- Enclosing class:
- URITemplate
public static class URITemplate.TemplateComponent extends Object implements Dumpable
-
-
Field Summary
Fields Modifier and Type Field Description String
literalText
The actual text of the segmentString
name
The parameter name to map the actual contents toString[]
names
The names of all the capturing groups.Pattern
pattern
The pattern for custom regex.URITemplate.Type
type
The type of component.
-
Constructor Summary
Constructors Constructor Description TemplateComponent(URITemplate.Type type, String literalText, String name, Pattern pattern, String[] names)
-
-
-
Field Detail
-
type
public final URITemplate.Type type
The type of component.
-
literalText
public final String literalText
The actual text of the segment
-
name
public final String name
The parameter name to map the actual contents to
-
pattern
public final Pattern pattern
The pattern for custom regex. This pattern must start with ^ so it will only match from the very start.
-
names
public final String[] names
The names of all the capturing groups. Only used for CUSTOM_REGEX
-
-
Constructor Detail
-
TemplateComponent
public TemplateComponent(URITemplate.Type type, String literalText, String name, Pattern pattern, String[] names)
-
-