public class DatastoreKeyIdConverter extends Object implements org.springframework.data.rest.webmvc.spi.BackendIdConverter
| Constructor and Description |
|---|
DatastoreKeyIdConverter(DatastoreMappingContext datastoreMappingContext)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Serializable |
fromRequestId(String s,
Class<?> aClass) |
boolean |
supports(Class<?> entityType) |
String |
toRequestId(Serializable serializable,
Class<?> aClass) |
public DatastoreKeyIdConverter(DatastoreMappingContext datastoreMappingContext)
datastoreMappingContext - the mapping context.public Serializable fromRequestId(String s, Class<?> aClass)
fromRequestId in interface org.springframework.data.rest.webmvc.spi.BackendIdConverterpublic String toRequestId(Serializable serializable, Class<?> aClass)
toRequestId in interface org.springframework.data.rest.webmvc.spi.BackendIdConverterCopyright © 2020 Pivotal Software, Inc.. All rights reserved.