public class CollectionToListOutputConverter extends Object implements OutputConverter<Collection<?>,List<?>>
GraphQLList| Constructor and Description |
|---|
CollectionToListOutputConverter() |
| Modifier and Type | Method and Description |
|---|---|
List<?> |
convertOutput(Collection<?> original,
AnnotatedType type,
ResolutionEnvironment resolutionEnvironment) |
boolean |
supports(AnnotatedType type) |
public List<?> convertOutput(Collection<?> original, AnnotatedType type, ResolutionEnvironment resolutionEnvironment)
convertOutput in interface OutputConverter<Collection<?>,List<?>>public boolean supports(AnnotatedType type)
supports in interface OutputConverter<Collection<?>,List<?>>Copyright © 2016–2017. All rights reserved.