| Package | Description |
|---|---|
| org.springframework.graphql.data.method |
Support for DataFetcher's based on handler methods typically annotated with
SchemaMapping
annotations. |
| org.springframework.graphql.data.method.annotation.support |
Resolvers for method parameters of annotated handler methods.
|
| Modifier and Type | Class and Description |
|---|---|
class |
HandlerMethodArgumentResolverComposite
Resolves method parameters by delegating to a list of registered
HandlerMethodArgumentResolver's. |
| Modifier and Type | Method and Description |
|---|---|
HandlerMethodArgumentResolver |
HandlerMethodArgumentResolverComposite.getArgumentResolver(org.springframework.core.MethodParameter parameter)
Find a registered
HandlerMethodArgumentResolver that supports
the given method parameter. |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<HandlerMethodArgumentResolver> |
HandlerMethodArgumentResolverComposite.getResolvers()
Return a read-only list with the contained resolvers, or an empty list.
|
| Modifier and Type | Method and Description |
|---|---|
void |
HandlerMethodArgumentResolverComposite.addResolver(HandlerMethodArgumentResolver resolver)
Add the given
HandlerMethodArgumentResolver. |
| Modifier and Type | Class and Description |
|---|---|
class |
ArgumentMapMethodArgumentResolver
Resolves
Map method arguments annotated with an @Argument
where the annotation does not specify an argument name. |
class |
ArgumentMethodArgumentResolver
Resolver for
@Argument annotated method parameters, obtained
via DataFetchingEnvironment.getArgument(String) and converted to the
declared type of the method parameter. |
class |
ContextValueMethodArgumentResolver
Resolver for
@ContextValue annotated method parameters. |
class |
ContinuationHandlerMethodArgumentResolver
No-op resolver for method arguments of type
Continuation. |
class |
DataFetchingEnvironmentMethodArgumentResolver
Resolver for
DataFetchingEnvironment and related values that can be
accessed through the DataFetchingEnvironment such as:
GraphQLContext
DataFetchingFieldSelectionSet
Locale or Optional<Locale>
as well as arguments of type |
class |
DataLoaderMethodArgumentResolver
Resolver for a
DataLoader obtained via
DataFetchingEnvironment.getDataLoader(String). |
class |
PrincipalMethodArgumentResolver
Resolver to obtain
Principal from Spring Security context via
SecurityContext.getAuthentication(). |
class |
ProjectedPayloadMethodArgumentResolver
Resolver to obtain an
@ProjectedPayload,
either based on the complete DataFetchingEnvironment.getArguments()
map, or based on a specific argument within the map when the method
parameter is annotated with @Argument. |
class |
SourceMethodArgumentResolver
Resolver for the source/parent of a field, obtained via
DataFetchingEnvironment.getSource(). |