public class UriTypeMatchTemplate extends UriMatchTemplate
A UriMatchTemplate that allows specifying types for the URI variables.
UriMatchTemplate, 
UriTemplate| Modifier and Type | Class and Description | 
|---|---|
protected static class  | 
UriTypeMatchTemplate.TypedUriMatchTemplateParser
A typed uri match templated parser. 
 | 
UriMatchTemplate.DefaultUriMatchInfo, UriMatchTemplate.UriMatchTemplateParserUriTemplate.PathSegment, UriTemplate.UriTemplateParserpattern, VARIABLE_MATCH_PATTERN, variables| Modifier | Constructor and Description | 
|---|---|
  | 
UriTypeMatchTemplate(CharSequence templateString,
                    Class... variableTypes)  | 
protected  | 
UriTypeMatchTemplate(CharSequence templateString,
                    List<UriTemplate.PathSegment> segments,
                    Pattern matchPattern,
                    Class[] variableTypes,
                    List<UriMatchVariable> variables)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected UriTemplate.UriTemplateParser | 
createParser(String templateString,
            Object... parserArguments)
Creates a parser. 
 | 
String | 
expand(Map<String,Object> parameters)
Expand the string with the given parameters. 
 | 
UriTypeMatchTemplate | 
nest(CharSequence uriTemplate)
Nests another URI template with this template. 
 | 
UriTypeMatchTemplate | 
nest(CharSequence uriTemplate,
    Class... variableTypes)  | 
protected UriMatchTemplate | 
newUriMatchTemplate(CharSequence uriTemplate,
                   List<UriTemplate.PathSegment> newSegments,
                   Pattern newPattern,
                   List<UriMatchVariable> variables)  | 
protected String | 
resolveTypePattern(Class variableType,
                  String variable,
                  char operator)  | 
getVariableNames, getVariables, match, newUriTemplate, ofbuildNestedSegments, compareTo, equals, expand, hashCode, nest, normalizeNested, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitmatchpublic UriTypeMatchTemplate(CharSequence templateString, Class... variableTypes)
templateString - The templatevariableTypes - The variable typesprotected UriTypeMatchTemplate(CharSequence templateString, List<UriTemplate.PathSegment> segments, Pattern matchPattern, Class[] variableTypes, List<UriMatchVariable> variables)
templateString - The templatesegments - The segmentsmatchPattern - The match patternvariableTypes - The variable typesvariables - The variablespublic UriTypeMatchTemplate nest(CharSequence uriTemplate)
UriTemplatenest in class UriMatchTemplateuriTemplate - The URI template. If it does not begin with forward slash it will automatically be appended with forward slashpublic UriTypeMatchTemplate nest(CharSequence uriTemplate, Class... variableTypes)
uriTemplate - The URI templatevariableTypes - The variable typespublic String expand(Map<String,Object> parameters)
UriTemplateexpand in class UriTemplateparameters - The parametersprotected UriTemplate.UriTemplateParser createParser(String templateString, Object... parserArguments)
UriTemplatecreateParser in class UriMatchTemplatetemplateString - The templateparserArguments - The parsed argumentsprotected UriMatchTemplate newUriMatchTemplate(CharSequence uriTemplate, List<UriTemplate.PathSegment> newSegments, Pattern newPattern, List<UriMatchVariable> variables)
newUriMatchTemplate in class UriMatchTemplateuriTemplate - The templatenewSegments - The list of new segmentsnewPattern - The list of new pattersvariables - The variablesUriMatchTemplate