T - The actual argument type of an exposed methodS - The substitute type as which the argument values are to be deserializedpublic interface InputConverter<T,S> extends TypeSubstituter
| Modifier and Type | Method and Description |
|---|---|
T |
convertInput(S substitute,
AnnotatedType type,
GlobalEnvironment environment,
ValueMapper valueMapper) |
AnnotatedType |
getSubstituteType(AnnotatedType original)
The returned type has to erase to
Class<S> |
boolean |
supports(AnnotatedType type) |
T convertInput(S substitute, AnnotatedType type, GlobalEnvironment environment, ValueMapper valueMapper)
boolean supports(AnnotatedType type)
AnnotatedType getSubstituteType(AnnotatedType original)
Class<S>getSubstituteType in interface TypeSubstituteroriginal - The original type of the input valueCopyright © 2016–2018. All rights reserved.