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.BackendIdConverter
public String toRequestId(Serializable serializable, Class<?> aClass)
toRequestId
in interface org.springframework.data.rest.webmvc.spi.BackendIdConverter
Copyright © 2021. All rights reserved.