public class ArrayAdapter extends AbstractTypeSubstitutingMapper implements DelegatingOutputConverter
substituteType| Constructor and Description |
|---|
ArrayAdapter() |
| Modifier and Type | Method and Description |
|---|---|
Object |
convertOutput(Object original,
AnnotatedType type,
ResolutionEnvironment resolutionEnvironment) |
List<AnnotatedType> |
getDerivedTypes(AnnotatedType type) |
AnnotatedType |
getSubstituteType(AnnotatedType original)
Returns the type to map instead of the original.
|
boolean |
isTransparent()
A
DelegatingOutputConverter is considered transparent if its sole purpose is to delegate to other
converters, and contains no other logic of its own. |
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 List<AnnotatedType> getDerivedTypes(AnnotatedType type)
getDerivedTypes in interface DelegatingOutputConverterpublic boolean isTransparent()
DelegatingOutputConverterDelegatingOutputConverter is considered transparent if its sole purpose is to delegate to other
converters, and contains no other logic of its own. In other words, if there is no reason to invoke it without
other applicable converters present.
This flag is purely a performance optimization hint, as is always safe to leave on false.isTransparent in interface DelegatingOutputConverterpublic boolean supports(AnnotatedType type)
supports in interface OutputConvertersupports in interface TypeMapperCopyright © 2016–2019. All rights reserved.