Class GsonScalarTypeMapper
- java.lang.Object
-
- io.leangen.graphql.module.common.gson.GsonScalarTypeMapper
-
- All Implemented Interfaces:
TypeMapper
public class GsonScalarTypeMapper extends Object implements TypeMapper
-
-
Constructor Summary
Constructors Constructor Description GsonScalarTypeMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleansupports(AnnotatedElement element, AnnotatedType type)graphql.schema.GraphQLScalarTypetoGraphQLInputType(AnnotatedType javaType, Set<Class<? extends TypeMapper>> mappersToSkip, TypeMappingEnvironment env)graphql.schema.GraphQLScalarTypetoGraphQLType(AnnotatedType javaType, Set<Class<? extends TypeMapper>> mappersToSkip, TypeMappingEnvironment env)
-
-
-
Method Detail
-
toGraphQLType
public graphql.schema.GraphQLScalarType toGraphQLType(AnnotatedType javaType, Set<Class<? extends TypeMapper>> mappersToSkip, TypeMappingEnvironment env)
- Specified by:
toGraphQLTypein interfaceTypeMapper
-
toGraphQLInputType
public graphql.schema.GraphQLScalarType toGraphQLInputType(AnnotatedType javaType, Set<Class<? extends TypeMapper>> mappersToSkip, TypeMappingEnvironment env)
- Specified by:
toGraphQLInputTypein interfaceTypeMapper
-
supports
public boolean supports(AnnotatedElement element, AnnotatedType type)
- Specified by:
supportsin interfaceTypeMapper
-
-