Class OptionalIntResolver
java.lang.Object
se.l4.graphql.binding.internal.resolvers.OptionalIntResolver
- All Implemented Interfaces:
GraphQLDelegatingResolver
,GraphQLResolver
,GraphQLInputResolver
,TypedGraphQLInputResolver
,GraphQLOutputResolver
,TypedGraphQLOutputResolver
,TypedGraphQLResolver
public class OptionalIntResolver extends Object implements TypedGraphQLInputResolver, TypedGraphQLOutputResolver, GraphQLDelegatingResolver
Resolver for
OptionalInt
.-
Constructor Summary
Constructors Constructor Description OptionalIntResolver()
-
Method Summary
Modifier and Type Method Description Class<?>
getType()
Get the type this resolver works on.ResolvedGraphQLType<? extends graphql.schema.GraphQLInputType>
resolveInput(GraphQLInputEncounter encounter)
Resolve theGraphQLInputType
of the given type.ResolvedGraphQLType<? extends graphql.schema.GraphQLOutputType>
resolveOutput(GraphQLOutputEncounter encounter)
Resolve theGraphQLType
of the given type.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface se.l4.graphql.binding.resolver.input.TypedGraphQLInputResolver
supportsInput
Methods inherited from interface se.l4.graphql.binding.resolver.output.TypedGraphQLOutputResolver
supportsOutput
-
Constructor Details
-
OptionalIntResolver
public OptionalIntResolver()
-
-
Method Details
-
getType
Description copied from interface:TypedGraphQLResolver
Get the type this resolver works on.- Specified by:
getType
in interfaceTypedGraphQLResolver
- Returns:
-
resolveOutput
public ResolvedGraphQLType<? extends graphql.schema.GraphQLOutputType> resolveOutput(GraphQLOutputEncounter encounter)Description copied from interface:GraphQLOutputResolver
Resolve theGraphQLType
of the given type.- Specified by:
resolveOutput
in interfaceGraphQLOutputResolver
- Returns:
-
resolveInput
public ResolvedGraphQLType<? extends graphql.schema.GraphQLInputType> resolveInput(GraphQLInputEncounter encounter)Description copied from interface:GraphQLInputResolver
Resolve theGraphQLInputType
of the given type.- Specified by:
resolveInput
in interfaceGraphQLInputResolver
- Returns:
-
toString
-