Package | Description |
---|---|
org.springframework.hateoas |
Value objects to ease creating
Link s and link driven representations for REST webservices. |
Modifier and Type | Method and Description |
---|---|
static TemplateVariable.VariableType |
TemplateVariable.VariableType.from(String key)
Returns the
TemplateVariable.VariableType for the given variable key. |
static TemplateVariable.VariableType |
TemplateVariable.VariableType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TemplateVariable.VariableType[] |
TemplateVariable.VariableType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
boolean |
TemplateVariable.VariableType.canBeCombinedWith(TemplateVariable.VariableType type) |
UriTemplate |
UriTemplate.with(String variableName,
TemplateVariable.VariableType type)
Creates a new
UriTemplate with a TemplateVariable with the given name and type added. |
Constructor and Description |
---|
TemplateVariable(String name,
TemplateVariable.VariableType type)
Creates a new
TemplateVariable with the given name and type. |
TemplateVariable(String name,
TemplateVariable.VariableType type,
String description)
Creates a new
TemplateVariable with the given name, type and description. |
Copyright © 2012-2019–2019 Pivotal, Inc.. All rights reserved.