Package org.glassfish.jersey.uri
Interface UriTemplate.TemplateValueStrategy
-
- Enclosing class:
- UriTemplate
private static interface UriTemplate.TemplateValueStrategy
A strategy interface for processing parameters, should be replaced with a JDK 8 one day in the future.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
valueFor(java.lang.String templateVariable, java.lang.String matchedGroup)
Get a value for a given template variable.
-
-
-
Method Detail
-
valueFor
java.lang.String valueFor(java.lang.String templateVariable, java.lang.String matchedGroup)
Get a value for a given template variable.- Parameters:
templateVariable
- template variable.matchedGroup
- matched group string for a given template variable.- Returns:
- template value.
- Throws:
java.lang.IllegalArgumentException
- in case no value has been found and the strategy does not supportnull
values.
-
-