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 Details

    • 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.
    • groups

      public final String[] groups
      The names of all the capturing groups. Only used for CUSTOM_REGEX
    • names

      public final String[] names
      The names of all the components. Only used for CUSTOM_REGEX
  • Constructor Details

  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • stringRepresentation

      public String stringRepresentation()
    • dump

      public void dump(int level)
      Specified by:
      dump in interface Dumpable