Class JacksonAwareStringToTypeConverter<T>
- java.lang.Object
-
- org.camunda.bpm.engine.rest.dto.converter.JacksonAwareStringToTypeConverter<T>
-
- All Implemented Interfaces:
StringToTypeConverter<T>
- Direct Known Subclasses:
BooleanConverter
,ConditionListConverter
,DateConverter
,DelegationStateConverter
,IntegerConverter
,LongConverter
,PeriodUnitConverter
,StringArrayConverter
,StringConverter
,StringListConverter
,StringSetConverter
,VariableListConverter
public abstract class JacksonAwareStringToTypeConverter<T> extends java.lang.Object implements StringToTypeConverter<T>
- Author:
- Thorben Lindhauer
-
-
Field Summary
Fields Modifier and Type Field Description protected com.fasterxml.jackson.databind.ObjectMapper
objectMapper
-
Constructor Summary
Constructors Constructor Description JacksonAwareStringToTypeConverter()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract T
convertQueryParameterToType(java.lang.String value)
protected T
mapToType(java.lang.String value, java.lang.Class<T> typeClass)
void
setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
-
Method Detail
-
convertQueryParameterToType
public abstract T convertQueryParameterToType(java.lang.String value)
- Specified by:
convertQueryParameterToType
in interfaceStringToTypeConverter<T>
-
setObjectMapper
public void setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-