public class PeriodUnitConverter extends JacksonAwareStringToTypeConverter<PeriodUnit>
objectMapper
Constructor and Description |
---|
PeriodUnitConverter() |
Modifier and Type | Method and Description |
---|---|
PeriodUnit |
convertQueryParameterToType(String value) |
protected <T extends Enum<T>> |
mapToEnum(String value,
Class<T> type) |
mapToType, setObjectMapper
public PeriodUnit convertQueryParameterToType(String value)
convertQueryParameterToType
in interface StringToTypeConverter<PeriodUnit>
convertQueryParameterToType
in class JacksonAwareStringToTypeConverter<PeriodUnit>
Copyright © 2019. All rights reserved.