public static class ApolloConverterFactory.Builder
extends java.lang.Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ApolloConverterFactory |
build() |
<T> ApolloConverterFactory.Builder |
withCustomTypeAdapter(com.apollographql.android.api.graphql.ScalarType scalarType,
CustomTypeAdapter<T> customTypeAdapter) |
<T> ApolloConverterFactory.Builder |
withResponseFieldMapper(java.lang.Class<T> type,
com.apollographql.android.api.graphql.ResponseFieldMapper<T> responseFieldMapper) |
ApolloConverterFactory.Builder |
withResponseFieldMappers(java.util.Map<java.lang.reflect.Type,com.apollographql.android.api.graphql.ResponseFieldMapper> mappers) |
public <T> ApolloConverterFactory.Builder withCustomTypeAdapter(@Nonnull com.apollographql.android.api.graphql.ScalarType scalarType, @Nonnull CustomTypeAdapter<T> customTypeAdapter)
public <T> ApolloConverterFactory.Builder withResponseFieldMapper(@Nonnull java.lang.Class<T> type, @Nonnull com.apollographql.android.api.graphql.ResponseFieldMapper<T> responseFieldMapper)
public ApolloConverterFactory.Builder withResponseFieldMappers(@Nonnull java.util.Map<java.lang.reflect.Type,com.apollographql.android.api.graphql.ResponseFieldMapper> mappers)
public ApolloConverterFactory build()