Class GsonValueMapperFactory
- java.lang.Object
-
- io.leangen.graphql.metadata.strategy.value.gson.GsonValueMapperFactory
-
- All Implemented Interfaces:
ScalarDeserializationStrategy,ValueMapperFactory<GsonValueMapper>
public class GsonValueMapperFactory extends Object implements ValueMapperFactory<GsonValueMapper>, ScalarDeserializationStrategy
- Author:
- Bojan Tomic (kaqqao)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGsonValueMapperFactory.AbstractClassAdapterConfigurerstatic classGsonValueMapperFactory.Builderstatic interfaceGsonValueMapperFactory.Configurerstatic classGsonValueMapperFactory.ConfigurerParams
-
Constructor Summary
Constructors Constructor Description GsonValueMapperFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GsonValueMapperFactory.Builderbuilder()GsonValueMappergetValueMapper(Map<Class,List<Class<?>>> concreteSubTypes, GlobalEnvironment environment)booleanisDirectlyDeserializable(AnnotatedType type)StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.leangen.graphql.metadata.strategy.value.ValueMapperFactory
getValueMapper
-
-
-
-
Method Detail
-
getValueMapper
public GsonValueMapper getValueMapper(Map<Class,List<Class<?>>> concreteSubTypes, GlobalEnvironment environment)
- Specified by:
getValueMapperin interfaceValueMapperFactory<GsonValueMapper>
-
isDirectlyDeserializable
public boolean isDirectlyDeserializable(AnnotatedType type)
- Specified by:
isDirectlyDeserializablein interfaceScalarDeserializationStrategy
-
builder
public static GsonValueMapperFactory.Builder builder()
-
-