Interface PagingAndSortingTemplateVariables

All Superinterfaces:
org.springframework.hateoas.server.mvc.UriComponentsContributor

public interface PagingAndSortingTemplateVariables extends org.springframework.hateoas.server.mvc.UriComponentsContributor
Interface to abstract the access of TemplateVariables for pagination and sorting.
Since:
2.3
Author:
Oliver Gierke
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.hateoas.TemplateVariables
    Returns the TemplateVariables for pagination.
    org.springframework.hateoas.TemplateVariables
    Returns the TemplateVariables for sorting.

    Methods inherited from interface org.springframework.hateoas.server.mvc.UriComponentsContributor

    enhance, supportsParameter
  • Method Details

    • getPaginationTemplateVariables

      org.springframework.hateoas.TemplateVariables getPaginationTemplateVariables(MethodParameter parameter, UriComponents components)
      Returns the TemplateVariables for pagination.
      Parameters:
      parameter - can be null.
      components - must not be null.
      Returns:
    • getSortTemplateVariables

      org.springframework.hateoas.TemplateVariables getSortTemplateVariables(MethodParameter parameter, UriComponents components)
      Returns the TemplateVariables for sorting.
      Parameters:
      parameter - can be null.
      components - must not be null.
      Returns: