Uses of Class
org.springframework.graphql.data.method.HandlerMethod
Packages that use HandlerMethod
Package
Description
Integration for Apollo federation that provides a
FederationSchemaFactory
to
set up the schema with, and supports the fetching of federated types
via @EntityMapping
controller methods.Support for DataFetcher's based on handler methods typically annotated with
SchemaMapping
annotations.Resolvers for method parameters of annotated handler methods.
-
Uses of HandlerMethod in org.springframework.graphql.data.federation
Methods in org.springframework.graphql.data.federation that return HandlerMethodModifier and TypeMethodDescriptionprotected HandlerMethod
FederationSchemaFactory.getHandlerMethod
(FederationSchemaFactory.EntityMappingInfo mappingInfo) RepresentationException.getHandlerMethod()
Return the mapped controller method, ornull
if it could not be mapped.FederationSchemaFactory.EntityMappingInfo.handlerMethod()
Returns the value of thehandlerMethod
record component.Constructors in org.springframework.graphql.data.federation with parameters of type HandlerMethodModifierConstructorDescriptionEntityMappingInfo
(String typeName, HandlerMethod handlerMethod) Creates an instance of aEntityMappingInfo
record class.RepresentationException
(Map<String, Object> representation, HandlerMethod hm, String msg) RepresentationNotResolvedException
(Map<String, Object> representation, HandlerMethod handlerMethod) -
Uses of HandlerMethod in org.springframework.graphql.data.method
Subclasses of HandlerMethod in org.springframework.graphql.data.methodModifier and TypeClassDescriptionclass
Extension ofHandlerMethod
that adds support for invoking the underlying handler methods.Methods in org.springframework.graphql.data.method that return HandlerMethodModifier and TypeMethodDescriptionHandlerMethod.createWithResolvedBean()
If the provided instance contains a bean name rather than an object instance, the bean name is resolved before aHandlerMethod
is created and returned.Constructors in org.springframework.graphql.data.method with parameters of type HandlerMethodModifierConstructorDescriptionprotected
HandlerMethod
(HandlerMethod handlerMethod) Copy constructor for use from subclasses that accept more arguments.protected
InvocableHandlerMethodSupport
(HandlerMethod handlerMethod, Executor executor) Deprecated, for removal: This API element is subject to removal in a future version.in favor of alternative constructorprotected
InvocableHandlerMethodSupport
(HandlerMethod handlerMethod, Executor executor, boolean invokeAsync) Create an instance. -
Uses of HandlerMethod in org.springframework.graphql.data.method.annotation.support
Subclasses of HandlerMethod in org.springframework.graphql.data.method.annotation.supportModifier and TypeClassDescriptionclass
An extension ofHandlerMethod
for annotated handler methods adapted toBatchLoaderWithContext
orMappedBatchLoaderWithContext
with the list of keys andBatchLoaderEnvironment
as their input.class
Invocable handler to use as aDataFetcher
.class
Extension ofInvocableHandlerMethodSupport
for handler methods that resolve argument values from aDataFetchingEnvironment
.Methods in org.springframework.graphql.data.method.annotation.support that return HandlerMethodModifier and TypeMethodDescriptionprotected HandlerMethod
AnnotatedControllerDetectionSupport.createHandlerMethod
(Method originalMethod, Object handler, Class<?> handlerType) protected HandlerMethod
AnnotatedControllerConfigurer.getHandlerMethod
(DataFetcherMappingInfo mappingInfo) protected abstract HandlerMethod
AnnotatedControllerDetectionSupport.getHandlerMethod
(M mappingInfo) DataFetcherMappingInfo.getHandlerMethod()
The controller method to use for data fetching.Methods in org.springframework.graphql.data.method.annotation.support with parameters of type HandlerMethodModifier and TypeMethodDescriptionprotected boolean
AnnotatedControllerDetectionSupport.shouldInvokeAsync
(HandlerMethod handlerMethod) Method parameters in org.springframework.graphql.data.method.annotation.support with type arguments of type HandlerMethodModifier and TypeMethodDescriptionvoid
AnnotatedControllerDetectionSupport.setBlockingMethodPredicate
(Predicate<HandlerMethod> predicate) Configure a predicate to decide which controller methods are blocking.Constructors in org.springframework.graphql.data.method.annotation.support with parameters of type HandlerMethodModifierConstructorDescriptionBatchLoaderHandlerMethod
(HandlerMethod handlerMethod, Executor executor) Deprecated, for removal: This API element is subject to removal in a future version.in favor of alternative constructorBatchLoaderHandlerMethod
(HandlerMethod handlerMethod, Executor executor, boolean invokeAsync) Create an instance.DataFetcherHandlerMethod
(HandlerMethod handlerMethod, HandlerMethodArgumentResolverComposite resolvers, BiConsumer<Object, Object[]> validationHelper, Executor executor, boolean subscription) Deprecated, for removal: This API element is subject to removal in a future version.in favor of alternative constructorDataFetcherHandlerMethod
(HandlerMethod handlerMethod, HandlerMethodArgumentResolverComposite resolvers, BiConsumer<Object, Object[]> validationHelper, Executor executor, boolean invokeAsync, boolean subscription) Constructor with a parent handler method.protected
DataFetcherHandlerMethodSupport
(HandlerMethod handlerMethod, HandlerMethodArgumentResolverComposite resolvers, Executor executor, boolean invokeAsync) DataFetcherMappingInfo
(String typeName, String field, boolean batchMapping, int maxBatchSize, HandlerMethod handlerMethod)