Class UriTypeMatchTemplate

All Implemented Interfaces:
UriMatcher, Comparable<UriTemplate>

public class UriTypeMatchTemplate extends UriMatchTemplate

A UriMatchTemplate that allows specifying types for the URI variables.

Since:
1.0
Author:
Graeme Rocher
See Also:
  • Constructor Details

    • UriTypeMatchTemplate

      public UriTypeMatchTemplate(CharSequence templateString, Class<?>... variableTypes)
      Parameters:
      templateString - The template
      variableTypes - The variable types
    • UriTypeMatchTemplate

      protected UriTypeMatchTemplate(CharSequence templateString, List<UriTemplate.PathSegment> segments, Pattern matchPattern, Class<?>[] variableTypes, List<UriMatchVariable> variables)
      Parameters:
      templateString - The template
      segments - The segments
      matchPattern - The match pattern
      variableTypes - The variable types
      variables - The variables
  • Method Details