org.springframework.web.util
Interface UriComponents.UriTemplateVariables
- Enclosing class:
- UriComponents
public static interface UriComponents.UriTemplateVariables
Defines the contract for URI Template variables
- See Also:
UriComponents.expand(java.util.Map)
Method Summary |
java.lang.Object |
getValue(java.lang.String name)
Get the value for the given URI variable name. |
SKIP_VALUE
static final java.lang.Object SKIP_VALUE
getValue
java.lang.Object getValue(java.lang.String name)
- Get the value for the given URI variable name.
If the value is
null
, an empty String is expanded.
If the value is SKIP_VALUE
, the URI variable is not expanded.
- Parameters:
name
- the variable name
- Returns:
- the variable value, possibly
null
or SKIP_VALUE