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(org.springframework.core.MethodParameter parameter,
org.springframework.web.util.UriComponents components)
Returns the
TemplateVariables for pagination. |
org.springframework.hateoas.TemplateVariables |
getSortTemplateVariables(org.springframework.core.MethodParameter parameter,
org.springframework.web.util.UriComponents components)
Returns the
TemplateVariables for sorting. |
org.springframework.hateoas.TemplateVariables getPaginationTemplateVariables(org.springframework.core.MethodParameter parameter, org.springframework.web.util.UriComponents components)
TemplateVariables
for pagination.parameter
- can be null.components
- must not be null.org.springframework.hateoas.TemplateVariables getSortTemplateVariables(org.springframework.core.MethodParameter parameter, org.springframework.web.util.UriComponents components)
TemplateVariables
for sorting.parameter
- can be null.components
- must not be null.Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.