Interface SortTranslator

All Known Implementing Classes:
Jackson2MappingAwareSortTranslator, JacksonMappingAwareSortTranslator
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface SortTranslator
Functional interface to translate a Sort object based on the current input and web request in the context of a MethodParameter.
Since:
5.0
Author:
Mark Paluch
  • Method Details

    • translateSort

      Sort translateSort(Sort input, MethodParameter parameter, NativeWebRequest webRequest)
      Translate the given Sort object based on the current input and web request.
      Parameters:
      input -
      parameter -
      webRequest -
      Returns:
      translated sort.