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.
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 Summary
Modifier and TypeMethodDescriptiontranslateSort(Sort input, MethodParameter parameter, NativeWebRequest webRequest) Translate the givenSortobject based on the current input and web request.
-
Method Details
-
translateSort
Translate the givenSortobject based on the current input and web request.- Parameters:
input-parameter-webRequest-- Returns:
- translated sort.
-