public abstract class JacksonAwareStringToTypeConverter<T> extends Object implements StringToTypeConverter<T>
Modifier and Type | Field and Description |
---|---|
protected com.fasterxml.jackson.databind.ObjectMapper |
objectMapper |
Constructor and Description |
---|
JacksonAwareStringToTypeConverter() |
Modifier and Type | Method and Description |
---|---|
abstract T |
convertQueryParameterToType(String value) |
protected T |
mapToType(String value,
Class<T> typeClass) |
void |
setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
public abstract T convertQueryParameterToType(String value)
convertQueryParameterToType
in interface StringToTypeConverter<T>
public void setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Copyright © 2017. All rights reserved.