Package org.springframework.web.util
Interface UriComponents.UriTemplateVariables
- Enclosing class:
- UriComponents
public static interface UriComponents.UriTemplateVariables
Defines the contract for URI Template variables.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Object
Constant for a value that indicates a URI variable name should be ignored and left as is. -
Method Summary
-
Field Details
-
SKIP_VALUE
Constant for a value that indicates a URI variable name should be ignored and left as is. This is useful for partial expanding of some but not all URI variables.
-
-
Method Details
-
getValue
Get the value for the given URI variable name. If the value isnull
, an empty String is expanded. If the value isSKIP_VALUE
, the URI variable is not expanded.- Parameters:
name
- the variable name- Returns:
- the variable value, possibly
null
orSKIP_VALUE
-