Class URITemplate

    • Field Detail

      • 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 Detail

      • 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)