Uses of Interface
org.springframework.graphql.data.method.HandlerMethodArgumentResolver
Packages that use HandlerMethodArgumentResolver
Package
Description
Support for DataFetcher's based on handler methods typically annotated with
SchemaMapping
annotations.Resolvers for method parameters of annotated handler methods.
-
Uses of HandlerMethodArgumentResolver in org.springframework.graphql.data.method
Classes in org.springframework.graphql.data.method that implement HandlerMethodArgumentResolverModifier and TypeClassDescriptionclassContainer for a list of resolvers that looks for one that supports a given method parameter type, and delegates to it.Methods in org.springframework.graphql.data.method that return HandlerMethodArgumentResolverModifier and TypeMethodDescriptionHandlerMethodArgumentResolverComposite.getArgumentResolver(MethodParameter parameter) Find a registeredHandlerMethodArgumentResolverthat supports the given method parameter.Methods in org.springframework.graphql.data.method that return types with arguments of type HandlerMethodArgumentResolverModifier and TypeMethodDescriptionHandlerMethodArgumentResolverComposite.getResolvers()Return a read-only list with the contained resolvers, or an empty list.Methods in org.springframework.graphql.data.method with parameters of type HandlerMethodArgumentResolverModifier and TypeMethodDescriptionvoidHandlerMethodArgumentResolverComposite.addResolver(HandlerMethodArgumentResolver resolver) Add the givenHandlerMethodArgumentResolver. -
Uses of HandlerMethodArgumentResolver in org.springframework.graphql.data.method.annotation.support
Classes in org.springframework.graphql.data.method.annotation.support that implement HandlerMethodArgumentResolverModifier and TypeClassDescriptionclassResolver for a method parameter that is annotated with@Argument.classResolver for a method parameter that is annotated with@Arguments, similar to whatArgumentMethodArgumentResolverdoes but using the full fullGraphQL argumentsmap as the source for binding to the target Object rather than a specific argument value within it.classResolver to obtainAuthentication.getPrincipal()from Spring Security context viaSecurityContext.getAuthentication()for parameters annotated withAuthenticationPrincipal.classResolver for a@ContextValueannotated method parameter.classNo-op resolver for method arguments of typeContinuation.classResolver forDataFetchingEnvironmentand related values that can be accessed through theDataFetchingEnvironmentsuch as:GraphQLContextDataFetchingFieldSelectionSetLocaleorOptional<Locale>as well as arguments of typeclassResolver for aDataLoaderobtained viaDataFetchingEnvironment.getDataLoader(String).classResolver for a@LocalContextValueannotated method parameter.classResolver to obtainPrincipalfrom Spring Security context viaSecurityContext.getAuthentication().classResolver for a method parameter that is an interface annotated with@ProjectedPayload.classclassResolver for method arguments of typeSort.classResolver for the source/parent of a field, obtained viaDataFetchingEnvironment.getSource().classResolver for a method argument of typeSubrangeinitialized from "first", "last", "before", and "after" GraphQL arguments.Methods in org.springframework.graphql.data.method.annotation.support with parameters of type HandlerMethodArgumentResolverModifier and TypeMethodDescriptionvoidAnnotatedControllerConfigurer.addCustomArgumentResolver(HandlerMethodArgumentResolver resolver) Add aHandlerMethodArgumentResolverfor custom controller method arguments.