public class JacksonMappingAwareSortTranslator extends Object
Sort arguments that is aware of Jackson-Mapping on domain classes. Jackson field names are
translated to PersistentProperty names. Domain class are looked up by resolving request URLs to mapped
repositories.| Constructor and Description |
|---|
JacksonMappingAwareSortTranslator() |
| Modifier and Type | Method and Description |
|---|---|
protected Sort |
translateSort(Sort input,
MethodParameter parameter,
NativeWebRequest webRequest)
Translates Jackson field names within a
Sort to PersistentProperty property names. |
protected Sort translateSort(Sort input, MethodParameter parameter, NativeWebRequest webRequest)
Sort to PersistentProperty property names.Copyright © 2011-2015–2016 Pivotal Software, Inc.. All rights reserved.