Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractAuthenticationWebSocketInterceptor - Class in org.springframework.graphql.server.support
-
Base class for interceptors that extract an
Authentication
from the payload of a"connection_init"
GraphQL over WebSocket message. - AbstractAuthenticationWebSocketInterceptor(AuthenticationExtractor) - Constructor for class org.springframework.graphql.server.support.AbstractAuthenticationWebSocketInterceptor
-
Constructor with the strategy to use to extract the authentication value from the
"connection_init"
message. - AbstractDelegatingGraphQlClient - Class in org.springframework.graphql.client
-
Base class for
GraphQlClient
extensions that assist with building an underlying transport, but otherwise delegate to the defaultGraphQlClient
implementation to execute requests. - AbstractDelegatingGraphQlClient(GraphQlClient) - Constructor for class org.springframework.graphql.client.AbstractDelegatingGraphQlClient
- AbstractDelegatingGraphQlTester - Class in org.springframework.graphql.test.tester
-
Base class for extensions of
GraphQlTester
that mainly assist with building the underlying transport, but otherwise delegate to the defaultGraphQlTester
implementation for actual request execution. - AbstractDelegatingGraphQlTester(GraphQlTester) - Constructor for class org.springframework.graphql.test.tester.AbstractDelegatingGraphQlTester
- AbstractGraphQlClientBuilder<B extends AbstractGraphQlClientBuilder<B>> - Class in org.springframework.graphql.client
-
Abstract, base class for transport specific
GraphQlClient.Builder
implementations. - AbstractGraphQlClientBuilder() - Constructor for class org.springframework.graphql.client.AbstractGraphQlClientBuilder
-
Default constructor for use from subclasses.
- AbstractGraphQlClientBuilder.DefaultJackson2Codecs - Class in org.springframework.graphql.client
- AbstractGraphQlClientSyncBuilder<B extends AbstractGraphQlClientSyncBuilder<B>> - Class in org.springframework.graphql.client
-
Abstract, base class for transport specific
GraphQlClient.SyncBuilder
implementations. - AbstractGraphQlClientSyncBuilder() - Constructor for class org.springframework.graphql.client.AbstractGraphQlClientSyncBuilder
-
Default constructor for use from subclasses.
- AbstractGraphQlHttpHandler - Class in org.springframework.graphql.server.webflux
-
Abstract base class for GraphQL over HTTP handlers.
- AbstractGraphQlHttpHandler - Class in org.springframework.graphql.server.webmvc
-
Abstract base class for GraphQL over HTTP handlers.
- AbstractGraphQlHttpHandler(WebGraphQlHandler, CodecConfigurer) - Constructor for class org.springframework.graphql.server.webflux.AbstractGraphQlHttpHandler
- AbstractGraphQlHttpHandler(WebGraphQlHandler, HttpMessageConverter<?>) - Constructor for class org.springframework.graphql.server.webmvc.AbstractGraphQlHttpHandler
- AbstractGraphQlResponse - Class in org.springframework.graphql.support
-
Base class for
GraphQlResponse
that pre-implements the ability to access aResponseField
. - AbstractGraphQlResponse() - Constructor for class org.springframework.graphql.support.AbstractGraphQlResponse
- AbstractGraphQlSourceBuilder<B extends GraphQlSource.Builder<B>> - Class in org.springframework.graphql.execution
-
Implementation of
GraphQlSource.Builder
that leaves it to subclasses to initializeGraphQLSchema
. - AbstractGraphQlSourceBuilder() - Constructor for class org.springframework.graphql.execution.AbstractGraphQlSourceBuilder
- AbstractGraphQlTesterBuilder<B extends AbstractGraphQlTesterBuilder<B>> - Class in org.springframework.graphql.test.tester
-
Abstract, base class for transport specific
GraphQlTester.Builder
implementations. - AbstractGraphQlTesterBuilder() - Constructor for class org.springframework.graphql.test.tester.AbstractGraphQlTesterBuilder
- AbstractSortStrategy - Class in org.springframework.graphql.data.query
-
Convenient base class for a
SortStrategy
. - AbstractSortStrategy() - Constructor for class org.springframework.graphql.data.query.AbstractSortStrategy
- addCustomArgumentResolver(HandlerMethodArgumentResolver) - Method in class org.springframework.graphql.data.method.annotation.support.AnnotatedControllerConfigurer
-
Add a
HandlerMethodArgumentResolver
for custom controller method arguments. - addDataBinderInitializer(Consumer<DataBinder>) - Method in class org.springframework.graphql.data.GraphQlArgumentBinder
-
Deprecated, for removal: This API element is subject to removal in a future version.
- addDataLoaderRegistrar(DataLoaderRegistrar) - Method in class org.springframework.graphql.execution.DefaultExecutionGraphQlService
-
Add a registrar to get access to and configure the
DataLoaderRegistry
for each request. - addFormatterRegistrar(FormatterRegistrar) - Method in class org.springframework.graphql.data.method.annotation.support.AnnotatedControllerDetectionSupport
-
Add a
FormatterRegistrar
to customize theConversionService
that assists in binding GraphQL arguments onto@Argument
annotated method parameters. - addMapping(Class<?>, String) - Method in class org.springframework.graphql.execution.ClassNameTypeResolver
-
Add a mapping from a Java
Class
to a GraphQL Object type name. - addResolver(HandlerMethodArgumentResolver) - Method in class org.springframework.graphql.data.method.HandlerMethodArgumentResolverComposite
-
Add the given
HandlerMethodArgumentResolver
. - afterConnectionClosed(WebSocketSession, CloseStatus) - Method in class org.springframework.graphql.server.webmvc.GraphQlWebSocketHandler
- afterConnectionEstablished(WebSocketSession) - Method in class org.springframework.graphql.server.webmvc.GraphQlWebSocketHandler
- afterPropertiesSet() - Method in class org.springframework.graphql.data.federation.FederationSchemaFactory
- afterPropertiesSet() - Method in class org.springframework.graphql.data.method.annotation.support.AnnotatedControllerConfigurer
- afterPropertiesSet() - Method in class org.springframework.graphql.data.method.annotation.support.AnnotatedControllerDetectionSupport
- andThen(GraphQlClientInterceptor) - Method in interface org.springframework.graphql.client.GraphQlClientInterceptor
-
Return a new interceptor that invokes the current interceptor first and then the one that is passed in.
- andThen(SyncGraphQlClientInterceptor) - Method in interface org.springframework.graphql.client.SyncGraphQlClientInterceptor
-
Return a new interceptor that invokes the current interceptor first and then the one that is passed in.
- andThen(RSocketGraphQlInterceptor) - Method in interface org.springframework.graphql.server.RSocketGraphQlInterceptor
-
Return a new
RSocketGraphQlInterceptor
that invokes the current interceptor first and then the one that is passed in. - andThen(WebGraphQlInterceptor) - Method in interface org.springframework.graphql.server.WebGraphQlInterceptor
-
Return a new
WebGraphQlInterceptor
that invokes the current interceptor first and then the one that is passed in. - AnnotatedControllerConfigurer - Class in org.springframework.graphql.data.method.annotation.support
-
RuntimeWiringConfigurer
that finds@SchemaMapping
and@BatchMapping
methods in@Controller
classes, and registers them asDataFetcher
s. - AnnotatedControllerConfigurer() - Constructor for class org.springframework.graphql.data.method.annotation.support.AnnotatedControllerConfigurer
- AnnotatedControllerDetectionSupport<M> - Class in org.springframework.graphql.data.method.annotation.support
-
Convenient base for classes that find annotated controller method with argument values resolved from a
DataFetchingEnvironment
. - AnnotatedControllerDetectionSupport() - Constructor for class org.springframework.graphql.data.method.annotation.support.AnnotatedControllerDetectionSupport
- apply(RSocketGraphQlInterceptor.Chain) - Method in interface org.springframework.graphql.server.RSocketGraphQlInterceptor
-
Apply this interceptor to the given
Chain
resulting in an intercepted chain. - apply(WebGraphQlInterceptor.Chain) - Method in interface org.springframework.graphql.server.WebGraphQlInterceptor
-
Apply this interceptor to the given
Chain
resulting in an intercepted chain. - applyGraphQlConfigurers(GraphQL.Builder) - Method in class org.springframework.graphql.execution.AbstractGraphQlSourceBuilder
-
Protected method to apply the
configured graphQlConfigurer
's. - Argument - Annotation Interface in org.springframework.graphql.data.method.annotation
-
Annotation to bind a named GraphQL
argument
onto a method parameter. - ArgumentMethodArgumentResolver - Class in org.springframework.graphql.data.method.annotation.support
-
Resolver for a method parameter that is annotated with
@Argument
. - ArgumentMethodArgumentResolver(GraphQlArgumentBinder) - Constructor for class org.springframework.graphql.data.method.annotation.support.ArgumentMethodArgumentResolver
- Arguments - Annotation Interface in org.springframework.graphql.data.method.annotation
- ArgumentsMethodArgumentResolver - Class in org.springframework.graphql.data.method.annotation.support
-
Resolver for a method parameter that is annotated with
@Arguments
, similar to whatArgumentMethodArgumentResolver
does but using the full fullGraphQL arguments
map as the source for binding to the target Object rather than a specific argument value within it. - ArgumentsMethodArgumentResolver(GraphQlArgumentBinder) - Constructor for class org.springframework.graphql.data.method.annotation.support.ArgumentsMethodArgumentResolver
- ArgumentValue<T> - Class in org.springframework.graphql.data
-
Simple container for the value from binding a GraphQL argument to a higher level Object, along with a flag to indicate whether the input argument was omitted altogether, as opposed to provided but set to the "null" literal.
- ArgumentValueValueExtractor - Class in org.springframework.graphql.data.method.annotation.support
- ArgumentValueValueExtractor() - Constructor for class org.springframework.graphql.data.method.annotation.support.ArgumentValueValueExtractor
- asOptional() - Method in class org.springframework.graphql.data.ArgumentValue
-
Return the contained value as a nullable
Optional
. - assertTargetBean(Method, Object, Object[]) - Method in class org.springframework.graphql.data.method.HandlerMethod
-
Assert that the target bean class is an instance of the class where the given method is declared.
- asTransport(GraphQlClient) - Static method in class org.springframework.graphql.test.tester.AbstractGraphQlTesterBuilder
-
For cases where the Tester needs the
GraphQlTransport
, we can't use transports directly since they are package private, but we can adapt the correspondingGraphQlClient
and adapt it toGraphQlTransport
. - asWebSocketHttpRequestHandler(HandshakeHandler) - Method in class org.springframework.graphql.server.webmvc.GraphQlWebSocketHandler
-
Deprecated, for removal: This API element is subject to removal in a future version.as of 1.1.0 in favor of
GraphQlWebSocketHandler.initWebSocketHttpRequestHandler(HandshakeHandler)
- attribute(String, Object) - Method in class org.springframework.graphql.client.DgsGraphQlClient.RequestSpec
-
Set a client request attribute.
- attribute(String, Object) - Method in interface org.springframework.graphql.client.GraphQlClient.RequestSpec
-
Set a client request attribute.
- attributes(Consumer<Map<String, Object>>) - Method in class org.springframework.graphql.client.DgsGraphQlClient.RequestSpec
-
Manipulate the client request attributes.
- attributes(Consumer<Map<String, Object>>) - Method in interface org.springframework.graphql.client.GraphQlClient.RequestSpec
-
Manipulate the client request attributes.
- authenticate(Authentication) - Method in class org.springframework.graphql.server.support.AbstractAuthenticationWebSocketInterceptor
-
Subclasses implement this method to return an authenticated
SecurityContext
or an error. - authenticate(Authentication) - Method in class org.springframework.graphql.server.webflux.AuthenticationWebSocketInterceptor
- authenticate(Authentication) - Method in class org.springframework.graphql.server.webmvc.AuthenticationWebSocketInterceptor
- AuthenticationExtractor - Interface in org.springframework.graphql.server.support
-
Strategy to extract an
Authentication
from the payload of a"connection_init"
GraphQL over WebSocket message. - AuthenticationPrincipalArgumentResolver - Class in org.springframework.graphql.data.method.annotation.support
-
Resolver to obtain
Authentication.getPrincipal()
from Spring Security context viaSecurityContext.getAuthentication()
for parameters annotated withAuthenticationPrincipal
. - AuthenticationPrincipalArgumentResolver(BeanResolver) - Constructor for class org.springframework.graphql.data.method.annotation.support.AuthenticationPrincipalArgumentResolver
-
Creates a new instance.
- AuthenticationWebSocketInterceptor - Class in org.springframework.graphql.server.webflux
-
Extension of
AbstractAuthenticationWebSocketInterceptor
for use with the WebFlux GraphQL transport. - AuthenticationWebSocketInterceptor - Class in org.springframework.graphql.server.webmvc
-
Extension of
AbstractAuthenticationWebSocketInterceptor
for use with the WebMVC GraphQL transport. - AuthenticationWebSocketInterceptor(AuthenticationExtractor, AuthenticationManager) - Constructor for class org.springframework.graphql.server.webmvc.AuthenticationWebSocketInterceptor
- AuthenticationWebSocketInterceptor(AuthenticationExtractor, ReactiveAuthenticationManager) - Constructor for class org.springframework.graphql.server.webflux.AuthenticationWebSocketInterceptor
- AUTHORIZATION_KEY - Static variable in class org.springframework.graphql.server.support.BearerTokenAuthenticationExtractor
-
Default key to access Authorization value in
connection_init
payload. - autoRegistrationConfigurer(List<QuerydslPredicateExecutor<?>>, List<ReactiveQuerydslPredicateExecutor<?>>) - Static method in class org.springframework.graphql.data.query.QuerydslDataFetcher
-
Variation of
QuerydslDataFetcher.autoRegistrationConfigurer(List, List, CursorStrategy, ScrollSubrange)
without aCursorStrategy
and defaultScrollSubrange
. - autoRegistrationConfigurer(List<QuerydslPredicateExecutor<?>>, List<ReactiveQuerydslPredicateExecutor<?>>, CursorStrategy<ScrollPosition>, ScrollSubrange) - Static method in class org.springframework.graphql.data.query.QuerydslDataFetcher
-
Return a
RuntimeWiringConfigurer
that installs aWiringFactory
to find queries with a return type whose name matches to the domain type name of the given repositories and registersDataFetcher
s for them. - autoRegistrationConfigurer(List<QueryByExampleExecutor<?>>, List<ReactiveQueryByExampleExecutor<?>>) - Static method in class org.springframework.graphql.data.query.QueryByExampleDataFetcher
-
Variation of
QueryByExampleDataFetcher.autoRegistrationConfigurer(List, List, CursorStrategy, ScrollSubrange)
without aCursorStrategy
and defaultScrollSubrange
. - autoRegistrationConfigurer(List<QueryByExampleExecutor<?>>, List<ReactiveQueryByExampleExecutor<?>>, CursorStrategy<ScrollPosition>, ScrollSubrange) - Static method in class org.springframework.graphql.data.query.QueryByExampleDataFetcher
-
Return a
RuntimeWiringConfigurer
that installs aWiringFactory
to find queries with a return type whose name matches to the domain type name of the given repositories and registersDataFetcher
s for them.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
DataBinder
is no longer used to bind arguments