接口 UriComponents.UriTemplateVariables
- 所有已知实现类:
HierarchicalUriComponents.QueryUriTemplateVariables,UriComponents.MapTemplateVariables,UriComponents.VarArgsTemplateVariables
- 封闭类:
- UriComponents
public static interface UriComponents.UriTemplateVariables
Defines the contract for URI Template variables.
-
字段概要
字段修饰符和类型字段说明static final ObjectConstant for a value that indicates a URI variable name should be ignored and left as is. -
方法概要
-
字段详细资料
-
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.
-
-
方法详细资料
-
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.- 参数:
name- the variable name- 返回:
- the variable value, possibly
nullorSKIP_VALUE
-