public interface PagingAndSortingTemplateVariables
extends org.springframework.hateoas.mvc.UriComponentsContributor
TemplateVariables
for pagination and sorting.Modifier and Type | Method and Description |
---|---|
org.springframework.hateoas.TemplateVariables |
getPaginationTemplateVariables(MethodParameter parameter,
UriComponents components)
Returns the
TemplateVariables for pagination. |
org.springframework.hateoas.TemplateVariables |
getSortTemplateVariables(MethodParameter parameter,
UriComponents components)
Returns the
TemplateVariables for sorting. |
org.springframework.hateoas.TemplateVariables getPaginationTemplateVariables(MethodParameter parameter, UriComponents components)
TemplateVariables
for pagination.parameter
- can be null.components
- must not be null.org.springframework.hateoas.TemplateVariables getSortTemplateVariables(MethodParameter parameter, UriComponents components)
TemplateVariables
for sorting.parameter
- can be null.components
- must not be null.Copyright © 2011-2015–2016 Pivotal Software, Inc.. All rights reserved.