Class URITemplate

java.lang.Object
org.jboss.resteasy.reactive.server.mapping.URITemplate
All Implemented Interfaces:
Comparable<URITemplate>, Dumpable

public class URITemplate extends Object implements Dumpable, Comparable<URITemplate>
  • Field Details

    • template

      public final String template
    • stem

      public final String stem
    • literalCharacterCount

      public final int literalCharacterCount
      The 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

      public final URITemplate.TemplateComponent[] 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

      public URITemplate(String template, boolean prefixMatch)
    • URITemplate

      public URITemplate(String template, String stem, int literalCharacterCount, int capturingGroups, int complexExpressions, URITemplate.TemplateComponent[] components, boolean prefixMatch)
  • Method Details