public class ArrayAdapter extends AbstractTypeSubstitutingMapper implements OutputConverter
substituteType| Constructor and Description |
|---|
ArrayAdapter() |
| Modifier and Type | Method and Description |
|---|---|
Object |
convertOutput(Object original,
AnnotatedType type,
ResolutionEnvironment resolutionEnvironment) |
AnnotatedType |
getSubstituteType(AnnotatedType original)
Returns the type to map instead of the original.
|
boolean |
supports(AnnotatedType type) |
toGraphQLInputType, toGraphQLTypepublic AnnotatedType getSubstituteType(AnnotatedType original)
AbstractTypeSubstitutingMapperS.getSubstituteType in interface TypeSubstitutergetSubstituteType in class AbstractTypeSubstitutingMapperoriginal - The type to be replacedpublic Object convertOutput(Object original, AnnotatedType type, ResolutionEnvironment resolutionEnvironment)
convertOutput in interface OutputConverterpublic boolean supports(AnnotatedType type)
supports in interface OutputConvertersupports in interface TypeMapperCopyright © 2016–2018. All rights reserved.