public class HateoasSortHandlerMethodArgumentResolver extends SortHandlerMethodArgumentResolver implements org.springframework.hateoas.mvc.UriComponentsContributor
SortHandlerMethodArgumentResolver that also supports enhancing URIs using Spring HATEOAS
support.| Constructor and Description |
|---|
HateoasSortHandlerMethodArgumentResolver() |
| Modifier and Type | Method and Description |
|---|---|
void |
enhance(UriComponentsBuilder builder,
MethodParameter parameter,
Object value) |
org.springframework.hateoas.TemplateVariables |
getSortTemplateVariables(MethodParameter parameter,
UriComponents template)
Returns the template variables for the sort parameter.
|
foldIntoExpressions, getSortParameter, legacyFoldExpressions, resolveArgument, setFallbackSort, setPropertyDelimiter, setQualifierDelimiter, setSortParameter, supportsParameterpublic HateoasSortHandlerMethodArgumentResolver()
public org.springframework.hateoas.TemplateVariables getSortTemplateVariables(MethodParameter parameter, UriComponents template)
parameter - must not be null.public void enhance(UriComponentsBuilder builder, MethodParameter parameter, Object value)
enhance in interface org.springframework.hateoas.mvc.UriComponentsContributorCopyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.