Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AbstractDelegatingGraphQlClient - Class in org.springframework.graphql.client
-
Base class for
GraphQlClientextensions that assist with building an underlying transport, but otherwise delegate to the defaultGraphQlClientimplementation to execute requests. - AbstractDelegatingGraphQlClient(GraphQlClient) - Constructor for class org.springframework.graphql.client.AbstractDelegatingGraphQlClient
- AbstractGraphQlClientBuilder<B extends AbstractGraphQlClientBuilder<B>> - Class in org.springframework.graphql.client
-
Abstract, base class for transport specific
GraphQlClient.Builderimplementations. - AbstractGraphQlClientBuilder() - Constructor for class org.springframework.graphql.client.AbstractGraphQlClientBuilder
-
Default constructor for use from subclasses.
- AbstractGraphQlClientBuilder.DefaultJackson2Codecs - Class in org.springframework.graphql.client
- AbstractGraphQlResponse - Class in org.springframework.graphql.support
-
Base class for
GraphQlResponsethat pre-implements the ability to access aResponseField. - AbstractGraphQlResponse() - Constructor for class org.springframework.graphql.support.AbstractGraphQlResponse
- 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
DataLoaderRegistryfor each request. - addFormatterRegistrar(FormatterRegistrar) - Method in class org.springframework.graphql.data.method.annotation.support.AnnotatedControllerConfigurer
-
Add a
FormatterRegistrarto customize theConversionServicethat assists in binding GraphQL arguments onto@Argumentannotated method parameters. - addMapping(Class<?>, String) - Method in class org.springframework.graphql.execution.ClassNameTypeResolver
-
Add a mapping from a Java
Classto 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.method.annotation.support.AnnotatedControllerConfigurer
- andThen(GraphQlClientInterceptor) - Method in interface org.springframework.graphql.client.GraphQlClientInterceptor
-
Return a new
GraphQlClientInterceptorthat 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
RSocketGraphQlInterceptorthat 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
WebGraphQlInterceptorthat invokes the current interceptor first and then the one that is passed in. - AnnotatedControllerConfigurer - Class in org.springframework.graphql.data.method.annotation.support
-
RuntimeWiringConfigurerthat detects@SchemaMappingannotated handler methods in@Controllerclasses and registers them asDataFetchers. - AnnotatedControllerConfigurer() - Constructor for class org.springframework.graphql.data.method.annotation.support.AnnotatedControllerConfigurer
- apply(RSocketGraphQlInterceptor.Chain) - Method in interface org.springframework.graphql.server.RSocketGraphQlInterceptor
-
Apply this interceptor to the given
Chainresulting in an intercepted chain. - apply(WebGraphQlInterceptor.Chain) - Method in interface org.springframework.graphql.server.WebGraphQlInterceptor
-
Apply this interceptor to the given
Chainresulting in an intercepted chain. - Argument - Annotation Interface in org.springframework.graphql.data.method.annotation
-
Annotation to bind a named GraphQL
argumentonto a method parameter. - ArgumentMapMethodArgumentResolver - Class in org.springframework.graphql.data.method.annotation.support
-
Resolves a
Mapmethod parameter for access to the raw arguments map. - ArgumentMapMethodArgumentResolver() - Constructor for class org.springframework.graphql.data.method.annotation.support.ArgumentMapMethodArgumentResolver
- 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 whatArgumentMethodArgumentResolverdoes but using the full fullGraphQL argumentsmap 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.
- 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.
- asWebSocketHttpRequestHandler(HandshakeHandler) - Method in class org.springframework.graphql.server.webmvc.GraphQlWebSocketHandler
-
Deprecated.as of 1.1.0 in favor of
GraphQlWebSocketHandler.initWebSocketHttpRequestHandler(HandshakeHandler) - attribute(String, Object) - Method in interface org.springframework.graphql.client.GraphQlClient.RequestSpec
-
Set a client request attribute.
- attributes(Consumer<Map<String, Object>>) - Method in interface org.springframework.graphql.client.GraphQlClient.RequestSpec
-
Manipulate the client request attributes.
- 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.
- autoRegistrationConfigurer(List<QuerydslPredicateExecutor<?>>, List<ReactiveQuerydslPredicateExecutor<?>>) - Static method in class org.springframework.graphql.data.query.QuerydslDataFetcher
-
Return a
RuntimeWiringConfigurerthat installs aWiringFactoryto find queries with a return type whose name matches to the domain type name of the given repositories and registersDataFetchers for them. - autoRegistrationConfigurer(List<QueryByExampleExecutor<?>>, List<ReactiveQueryByExampleExecutor<?>>) - Static method in class org.springframework.graphql.data.query.QueryByExampleDataFetcher
-
Return a
RuntimeWiringConfigurerthat installs aWiringFactoryto find queries with a return type whose name matches to the domain type name of the given repositories and registersDataFetchers for them. - autoRegistrationTypeVisitor(List<QuerydslPredicateExecutor<?>>, List<ReactiveQuerydslPredicateExecutor<?>>) - Static method in class org.springframework.graphql.data.query.QuerydslDataFetcher
-
Deprecated.
- autoRegistrationTypeVisitor(List<QueryByExampleExecutor<?>>, List<ReactiveQueryByExampleExecutor<?>>) - Static method in class org.springframework.graphql.data.query.QueryByExampleDataFetcher
-
Deprecated.
B
- BAD_REQUEST - Enum constant in enum class org.springframework.graphql.execution.ErrorType
-
DataFetchercannot or will not fetch the data value due to something that is perceived to be a client error. - BatchLoaderHandlerMethod - Class in org.springframework.graphql.data.method.annotation.support
-
An extension of
HandlerMethodfor annotated handler methods adapted toBatchLoaderWithContextorMappedBatchLoaderWithContextwith the list of keys andBatchLoaderEnvironmentas their input. - BatchLoaderHandlerMethod(HandlerMethod, Executor) - Constructor for class org.springframework.graphql.data.method.annotation.support.BatchLoaderHandlerMethod
- BatchLoaderRegistry - Interface in org.springframework.graphql.execution
-
Registry for functions to batch load data values, given a set of keys.
- BatchLoaderRegistry.RegistrationSpec<K,
V> - Interface in org.springframework.graphql.execution -
Spec to complete the registration of a batch loading function.
- BatchMapping - Annotation Interface in org.springframework.graphql.data.method.annotation
-
Annotation for a handler method that batch loads field values, given a list of source/parent values.
- beginExecution(InstrumentationExecutionParameters, InstrumentationState) - Method in class org.springframework.graphql.observation.GraphQlObservationInstrumentation
- bind(DataFetchingEnvironment, String, ResolvableType) - Method in class org.springframework.graphql.data.GraphQlArgumentBinder
-
Create and populate an Object of the given target type, from a single GraphQL argument, or from the full GraphQL arguments map.
- build() - Method in interface org.springframework.graphql.client.GraphQlClient.Builder
-
Build the
GraphQlClientinstance. - build() - Method in interface org.springframework.graphql.client.HttpGraphQlClient.Builder
-
Build the
HttpGraphQlClientinstance. - build() - Method in interface org.springframework.graphql.client.RSocketGraphQlClient.Builder
-
Build the
RSocketGraphQlClientinstance. - build() - Method in interface org.springframework.graphql.client.WebGraphQlClient.Builder
-
Build a
WebGraphQlClientinstance. - build() - Method in interface org.springframework.graphql.client.WebSocketGraphQlClient.Builder
-
Build the
WebSocketGraphQlClient. - build() - Method in interface org.springframework.graphql.execution.GraphQlSource.Builder
-
Build the
GraphQlSourceinstance. - build() - Method in interface org.springframework.graphql.server.WebGraphQlHandler.Builder
-
Build the
WebGraphQlHandlerinstance. - build() - Method in class org.springframework.graphql.support.DefaultExecutionGraphQlResponse.Builder
-
Build the response with the transformed
ExecutionResult. - build(RSocketGraphQlResponse, ExecutionResult) - Method in class org.springframework.graphql.server.RSocketGraphQlResponse.Builder
- build(WebGraphQlResponse, ExecutionResult) - Method in class org.springframework.graphql.server.WebGraphQlResponse.Builder
- build(R, ExecutionResult) - Method in class org.springframework.graphql.support.DefaultExecutionGraphQlResponse.Builder
-
Subclasses to create the specific response instance.
- builder() - Static method in interface org.springframework.graphql.client.HttpGraphQlClient
-
Return a builder to initialize an
HttpGraphQlClientwith. - builder() - Static method in interface org.springframework.graphql.client.RSocketGraphQlClient
-
Start with a new
RSocketRequester.Buildercustomized for GraphQL, setting thedataMimeTypeto"application/graphql+json"and adding JSON codecs. - builder(GraphQLSchema) - Static method in interface org.springframework.graphql.execution.GraphQlSource
-
Return a
GraphQlSourcebuilder that uses an externally preparedGraphQLSchema. - builder(String, WebSocketClient) - Static method in interface org.springframework.graphql.client.WebSocketGraphQlClient
-
Return a builder for a
WebSocketGraphQlClient. - builder(URI, WebSocketClient) - Static method in interface org.springframework.graphql.client.WebSocketGraphQlClient
-
Return a builder for a
WebSocketGraphQlClient. - builder(QuerydslPredicateExecutor<T>) - Static method in class org.springframework.graphql.data.query.QuerydslDataFetcher
-
Create a new
QuerydslDataFetcher.BuilderacceptingQuerydslPredicateExecutorto build aDataFetcher. - builder(ReactiveQuerydslPredicateExecutor<T>) - Static method in class org.springframework.graphql.data.query.QuerydslDataFetcher
-
Create a new
QuerydslDataFetcher.ReactiveBuilderacceptingReactiveQuerydslPredicateExecutorto build a reactiveDataFetcher. - builder(QueryByExampleExecutor<T>) - Static method in class org.springframework.graphql.data.query.QueryByExampleDataFetcher
-
Create a new
QueryByExampleDataFetcher.BuilderacceptingQueryByExampleExecutorto build aDataFetcher. - builder(ReactiveQueryByExampleExecutor<T>) - Static method in class org.springframework.graphql.data.query.QueryByExampleDataFetcher
-
Create a new
QueryByExampleDataFetcher.ReactiveBuilderacceptingReactiveQueryByExampleExecutorto build aDataFetcher. - builder(GraphQlTransport) - Static method in interface org.springframework.graphql.client.GraphQlClient
-
Create a builder with the given custom
GraphQlTransport. - builder(ExecutionGraphQlService) - Static method in interface org.springframework.graphql.server.WebGraphQlHandler
-
Provides access to a builder to create a
WebGraphQlHandlerinstance. - builder(RSocketRequester.Builder) - Static method in interface org.springframework.graphql.client.RSocketGraphQlClient
-
Start with a given
RSocketGraphQlClient.builder(). - builder(WebClient) - Static method in interface org.springframework.graphql.client.HttpGraphQlClient
-
Variant of
HttpGraphQlClient.builder()with a pre-configuredWebClientto mutate and customize further through the returned builder. - builder(WebClient.Builder) - Static method in interface org.springframework.graphql.client.HttpGraphQlClient
-
Variant of
HttpGraphQlClient.builder()with a pre-configuredWebClientto mutate and customize further through the returned builder. - Builder(R) - Constructor for class org.springframework.graphql.support.DefaultExecutionGraphQlResponse.Builder
- buildExample(DataFetchingEnvironment) - Method in class org.springframework.graphql.data.query.QueryByExampleDataFetcher
-
Prepare an
Examplefrom GraphQL request arguments. - buildGraphQlClient(GraphQlTransport) - Method in class org.springframework.graphql.client.AbstractGraphQlClientBuilder
-
Build the default transport-agnostic client that subclasses can then wrap with
AbstractDelegatingGraphQlClient. - buildPredicate(DataFetchingEnvironment) - Method in class org.springframework.graphql.data.query.QuerydslDataFetcher
-
Prepare a
Predicatefrom GraphQL request arguments, also applying anyQuerydslBinderCustomizerthat may have been configured. - buildPropertyPaths(DataFetchingFieldSelectionSet, Class<?>) - Method in class org.springframework.graphql.data.query.QueryByExampleDataFetcher
- buildPropertyPaths(DataFetchingFieldSelectionSet, Class<?>) - Method in class org.springframework.graphql.data.query.QuerydslDataFetcher
C
- CachingDocumentSource - Class in org.springframework.graphql.support
-
Base class for
DocumentSourceimplementations providing support for caching loaded documents. - CachingDocumentSource(DocumentSource) - Constructor for class org.springframework.graphql.support.CachingDocumentSource
-
Constructor with the
DocumentSourceto actually load documents. - ClassNameTypeResolver - Class in org.springframework.graphql.execution
-
TypeResolverthat tries to find a GraphQL Object type based on the class name of a value returned from aDataFetcher. - ClassNameTypeResolver() - Constructor for class org.springframework.graphql.execution.ClassNameTypeResolver
- clearCache() - Method in class org.springframework.graphql.support.CachingDocumentSource
-
Remove all entries from the document cache.
- ClientGraphQlRequest - Interface in org.springframework.graphql.client
-
GraphQlRequestfor client side use. - ClientGraphQlResponse - Interface in org.springframework.graphql.client
-
GraphQlResponsefor client use, with further options to handle the response. - ClientResponseField - Interface in org.springframework.graphql.client
-
Extends
ResponseFieldto add options for decoding the field value. - clientTransport(ClientTransport) - Method in interface org.springframework.graphql.client.RSocketGraphQlClient.Builder
-
Use a given
ClientTransportto communicate with the remote server. - clientTransports(Publisher<List<LoadbalanceTarget>>, LoadbalanceStrategy) - Method in interface org.springframework.graphql.client.RSocketGraphQlClient.Builder
-
Use a
PublisherofLoadbalanceTargets, each of which contains aClientTransport. - codecConfigurer(Consumer<CodecConfigurer>) - Method in interface org.springframework.graphql.client.WebGraphQlClient.Builder
-
Configure the underlying
CodecConfigurerto use for all JSON encoding and decoding needs. - complete(String) - Static method in class org.springframework.graphql.server.support.GraphQlWebSocketMessage
-
Create a
"complete"server message. - COMPLETE - Enum constant in enum class org.springframework.graphql.server.support.GraphQlWebSocketMessageType
- configure(GraphQLCodeRegistry.Builder) - Method in class org.springframework.graphql.data.method.annotation.support.AnnotatedControllerConfigurer
-
Alternative to
AnnotatedControllerConfigurer.configure(RuntimeWiring.Builder)that registers data fetchers in aGraphQLCodeRegistry.Builder. - configure(RuntimeWiring.Builder) - Method in class org.springframework.graphql.data.method.annotation.support.AnnotatedControllerConfigurer
- configure(RuntimeWiring.Builder) - Method in interface org.springframework.graphql.execution.RuntimeWiringConfigurer
-
Apply changes to the
RuntimeWiring.Buildersuch as registeringDataFetchers, custom scalar types, and more. - configure(RuntimeWiring.Builder, List<WiringFactory>) - Method in interface org.springframework.graphql.execution.RuntimeWiringConfigurer
-
Variant of
RuntimeWiringConfigurer.configure(RuntimeWiring.Builder)that also collectsWiringFactoryinstances that are then combined as one viaCombinedWiringFactory. - configureExecutionInput(BiFunction<ExecutionInput, ExecutionInput.Builder, ExecutionInput>) - Method in interface org.springframework.graphql.ExecutionGraphQlRequest
- configureExecutionInput(BiFunction<ExecutionInput, ExecutionInput.Builder, ExecutionInput>) - Method in class org.springframework.graphql.support.DefaultExecutionGraphQlRequest
- configureGraphQl(Consumer<GraphQL.Builder>) - Method in interface org.springframework.graphql.execution.GraphQlSource.Builder
-
Configure consumers to be given access to the
GraphQL.Builderused to buildGraphQL. - configureRuntimeWiring(RuntimeWiringConfigurer) - Method in interface org.springframework.graphql.execution.GraphQlSource.SchemaResourceBuilder
-
Configure the underlying
RuntimeWiring.Builderto register data fetchers, custom scalar types, type resolvers, and more. - CONNECTION_ACK - Enum constant in enum class org.springframework.graphql.server.support.GraphQlWebSocketMessageType
- CONNECTION_INIT - Enum constant in enum class org.springframework.graphql.server.support.GraphQlWebSocketMessageType
- connectionAck(Object) - Static method in class org.springframework.graphql.server.support.GraphQlWebSocketMessage
-
Create a
"connection_ack"server message. - connectionInit(Object) - Static method in class org.springframework.graphql.server.support.GraphQlWebSocketMessage
-
Create a
"connection_init"client message. - connectionInitPayload() - Method in interface org.springframework.graphql.client.WebSocketGraphQlClientInterceptor
-
Provide a
Monothat returns the payload for the"connection_init"message. - ContextValue - Annotation Interface in org.springframework.graphql.data.method.annotation
-
Annotation to bind a method parameter to an attribute from the
mainGraphQLContext. - ContextValueMethodArgumentResolver - Class in org.springframework.graphql.data.method.annotation.support
-
Resolver for a
@ContextValueannotated method parameter. - ContextValueMethodArgumentResolver() - Constructor for class org.springframework.graphql.data.method.annotation.support.ContextValueMethodArgumentResolver
- ContinuationHandlerMethodArgumentResolver - Class in org.springframework.graphql.data.method.annotation.support
-
No-op resolver for method arguments of type
Continuation. - ContinuationHandlerMethodArgumentResolver() - Constructor for class org.springframework.graphql.data.method.annotation.support.ContinuationHandlerMethodArgumentResolver
- create(URI, WebSocketClient) - Static method in interface org.springframework.graphql.client.WebSocketGraphQlClient
-
Create a
WebSocketGraphQlClient. - create(WebClient) - Static method in interface org.springframework.graphql.client.HttpGraphQlClient
-
Create an
HttpGraphQlClientthat uses the givenWebClient. - createExceptionHandler(List<DataFetcherExceptionResolver>) - Static method in interface org.springframework.graphql.execution.DataFetcherExceptionResolver
-
Factory method to create a
DataFetcherExceptionResolverfrom a list of resolvers. - createProjection(Class<?>, Object) - Method in class org.springframework.graphql.data.method.annotation.support.ProjectedPayloadMethodArgumentResolver
-
Protected method to create the projection.
- createResponse(Map<String, Object>) - Static method in interface org.springframework.graphql.client.GraphQlTransport
-
Factory method to create
GraphQlResponsefrom a GraphQL response map for use in transport implementations. - createState(InstrumentationCreateStateParameters) - Method in class org.springframework.graphql.observation.GraphQlObservationInstrumentation
- createWithResolvedBean() - Method in class org.springframework.graphql.data.method.HandlerMethod
-
If the provided instance contains a bean name rather than an object instance, the bean name is resolved before a
HandlerMethodis created and returned. - customize(QueryByExampleDataFetcher.Builder<T, ?>) - Method in interface org.springframework.graphql.data.query.QueryByExampleDataFetcher.QueryByExampleBuilderCustomizer
-
Callback to customize a
QueryByExampleDataFetcher.Builderinstance. - customize(QueryByExampleDataFetcher.ReactiveBuilder<T, ?>) - Method in interface org.springframework.graphql.data.query.QueryByExampleDataFetcher.ReactiveQueryByExampleBuilderCustomizer
-
Callback to customize a
QueryByExampleDataFetcher.ReactiveBuilderinstance. - customize(QuerydslDataFetcher.Builder<T, ?>) - Method in interface org.springframework.graphql.data.query.QuerydslDataFetcher.QuerydslBuilderCustomizer
-
Callback to customize a
QuerydslDataFetcher.Builderinstance. - customize(QuerydslDataFetcher.ReactiveBuilder<T, ?>) - Method in interface org.springframework.graphql.data.query.QuerydslDataFetcher.ReactiveQuerydslBuilderCustomizer
-
Callback to customize a
QuerydslDataFetcher.ReactiveBuilderinstance. - customizer(QuerydslBinderCustomizer<? extends EntityPath<T>>) - Method in class org.springframework.graphql.data.query.QuerydslDataFetcher.Builder
-
Apply a
QuerydslBinderCustomizer. - customizer(QuerydslBinderCustomizer<? extends EntityPath<T>>) - Method in class org.springframework.graphql.data.query.QuerydslDataFetcher.ReactiveBuilder
-
Apply a
QuerydslBinderCustomizer.
D
- data(Object) - Method in class org.springframework.graphql.support.DefaultExecutionGraphQlResponse.Builder
-
Set the
dataof the GraphQL execution result. - DATA_FETCHER - Enum constant in enum class org.springframework.graphql.observation.GraphQlObservationDocumentation
-
Observation created for
non-trivialdata fetching operations. - DataFetcherExceptionResolver - Interface in org.springframework.graphql.execution
-
Contract to resolve exceptions from
DataFetchers. - DataFetcherExceptionResolverAdapter - Class in org.springframework.graphql.execution
-
Adapter for
DataFetcherExceptionResolverthat pre-implements the asynchronous contract and exposes the following synchronous protected methods:DataFetcherExceptionResolverAdapter.resolveToSingleError(java.lang.Throwable, graphql.schema.DataFetchingEnvironment)DataFetcherExceptionResolverAdapter.resolveToMultipleErrors(java.lang.Throwable, graphql.schema.DataFetchingEnvironment) - DataFetcherExceptionResolverAdapter() - Constructor for class org.springframework.graphql.execution.DataFetcherExceptionResolverAdapter
-
Protected constructor since this class is meant to be extended to provide the actual exception resolution logic.
- DataFetcherHandlerMethod - Class in org.springframework.graphql.data.method.annotation.support
-
An extension of
HandlerMethodfor annotated handler methods adapted toDataFetcherwithDataFetchingEnvironmentas their input. - DataFetcherHandlerMethod(HandlerMethod, HandlerMethodArgumentResolverComposite, BiConsumer<Object, Object[]>, Executor, boolean) - Constructor for class org.springframework.graphql.data.method.annotation.support.DataFetcherHandlerMethod
-
Constructor with a parent handler method.
- DataFetcherObservationContext - Class in org.springframework.graphql.observation
-
Context that holds information for metadata collection during observations for
data fetching operations. - DataFetcherObservationConvention - Interface in org.springframework.graphql.observation
-
Interface for an
ObservationConventionfordata fetching observations. - DataFetchingEnvironmentMethodArgumentResolver - Class in org.springframework.graphql.data.method.annotation.support
-
Resolver for
DataFetchingEnvironmentand related values that can be accessed through theDataFetchingEnvironmentsuch as:GraphQLContextDataFetchingFieldSelectionSetLocaleorOptional<Locale>as well as arguments of type - DataFetchingEnvironmentMethodArgumentResolver() - Constructor for class org.springframework.graphql.data.method.annotation.support.DataFetchingEnvironmentMethodArgumentResolver
- DataLoaderMethodArgumentResolver - Class in org.springframework.graphql.data.method.annotation.support
-
Resolver for a
DataLoaderobtained viaDataFetchingEnvironment.getDataLoader(String). - DataLoaderMethodArgumentResolver() - Constructor for class org.springframework.graphql.data.method.annotation.support.DataLoaderMethodArgumentResolver
- DataLoaderRegistrar - Interface in org.springframework.graphql.execution
-
Contract for access to the
DataLoaderRegistryfor each request for the purpose of registeringDataLoaderinstances. - dataMimeType(MimeType) - Method in interface org.springframework.graphql.client.RSocketGraphQlClient.Builder
-
Customize the format of data payloads for the connection.
- DefaultBatchLoaderRegistry - Class in org.springframework.graphql.execution
-
A default implementation of
BatchLoaderRegistrythat accepts registrations, and also an implementation ofDataLoaderRegistrarto apply those registrations to aDataLoaderRegistry. - DefaultBatchLoaderRegistry() - Constructor for class org.springframework.graphql.execution.DefaultBatchLoaderRegistry
-
Default constructor
- DefaultBatchLoaderRegistry(Supplier<DataLoaderOptions>) - Constructor for class org.springframework.graphql.execution.DefaultBatchLoaderRegistry
-
Constructor with a default
DataLoaderOptionssupplier to use as a starting point for all registrations. - DefaultDataFetcherObservationConvention - Class in org.springframework.graphql.observation
-
Default implementation for a
DataFetcherObservationConventionextracting information from aDataFetcherObservationContext. - DefaultDataFetcherObservationConvention() - Constructor for class org.springframework.graphql.observation.DefaultDataFetcherObservationConvention
- DefaultDataFetcherObservationConvention(String) - Constructor for class org.springframework.graphql.observation.DefaultDataFetcherObservationConvention
- DefaultExecutionGraphQlRequest - Class in org.springframework.graphql.support
-
GraphQlRequestfor server side handling, adding the transport (e.g. - DefaultExecutionGraphQlRequest(String, String, Map<String, Object>, Map<String, Object>, String, Locale) - Constructor for class org.springframework.graphql.support.DefaultExecutionGraphQlRequest
-
Create an instance.
- DefaultExecutionGraphQlResponse - Class in org.springframework.graphql.support
-
GraphQlResponsefor server use that wraps theExecutionResultreturned fromGraphQLand also exposes the actualExecutionInputinstance passed into it. - DefaultExecutionGraphQlResponse(ExecutionInput, ExecutionResult) - Constructor for class org.springframework.graphql.support.DefaultExecutionGraphQlResponse
-
Constructor to create initial instance.
- DefaultExecutionGraphQlResponse(ExecutionGraphQlResponse) - Constructor for class org.springframework.graphql.support.DefaultExecutionGraphQlResponse
-
Constructor to re-wrap from transport specific subclass.
- DefaultExecutionGraphQlResponse.Builder<B extends DefaultExecutionGraphQlResponse.Builder<B,
R>, R extends ExecutionGraphQlResponse> - Class in org.springframework.graphql.support -
Builder to transform the response's
ExecutionResult. - DefaultExecutionGraphQlService - Class in org.springframework.graphql.execution
-
ExecutionGraphQlServicethat uses aGraphQlSourceto obtain aGraphQLinstance and perform query execution. - DefaultExecutionGraphQlService(GraphQlSource) - Constructor for class org.springframework.graphql.execution.DefaultExecutionGraphQlService
- DefaultExecutionRequestObservationConvention - Class in org.springframework.graphql.observation
-
Default implementation for a
ExecutionRequestObservationConventionextracting information from aExecutionRequestObservationContext. - DefaultExecutionRequestObservationConvention() - Constructor for class org.springframework.graphql.observation.DefaultExecutionRequestObservationConvention
- DefaultExecutionRequestObservationConvention(String) - Constructor for class org.springframework.graphql.observation.DefaultExecutionRequestObservationConvention
- DefaultGraphQlRequest - Class in org.springframework.graphql.support
-
Default implementation of
GraphQlRequest. - DefaultGraphQlRequest(String) - Constructor for class org.springframework.graphql.support.DefaultGraphQlRequest
-
Create a request.
- DefaultGraphQlRequest(String, String, Map<String, Object>, Map<String, Object>) - Constructor for class org.springframework.graphql.support.DefaultGraphQlRequest
-
Create a request with a complete set of inputs.
- DefaultJackson2Codecs() - Constructor for class org.springframework.graphql.client.AbstractGraphQlClientBuilder.DefaultJackson2Codecs
- defaultTypeResolver(TypeResolver) - Method in interface org.springframework.graphql.execution.GraphQlSource.SchemaResourceBuilder
-
Configure the default
TypeResolverto use for GraphQL interface and union types that don't have such a registration afterapplyingRuntimeWiringConfigurers. - document(String) - Method in class org.springframework.graphql.client.AbstractDelegatingGraphQlClient
- document(String) - Method in interface org.springframework.graphql.client.GraphQlClient
-
Start defining a GraphQL request with the given document, which is the textual representation of an operation (or operations) to perform, including selection sets and fragments.
- documentName(String) - Method in class org.springframework.graphql.client.AbstractDelegatingGraphQlClient
- documentName(String) - Method in interface org.springframework.graphql.client.GraphQlClient
-
Variant of
GraphQlClient.document(String)that uses the given key to resolve the GraphQL document from a file with the help of the configuredDocumentSource. - documentSource(DocumentSource) - Method in class org.springframework.graphql.client.AbstractGraphQlClientBuilder
- documentSource(DocumentSource) - Method in interface org.springframework.graphql.client.GraphQlClient.Builder
-
Configure a
DocumentSourcefor use withGraphQlClient.documentName(String)for resolving a document by name. - DocumentSource - Interface in org.springframework.graphql.support
-
Strategy to locate a GraphQL document by a name.
- doesNotRequirePayload() - Method in enum class org.springframework.graphql.server.support.GraphQlWebSocketMessageType
-
Return if the message type has a payload, and it is required.
- doInvoke(GraphQLContext, Object...) - Method in class org.springframework.graphql.data.method.InvocableHandlerMethodSupport
-
Invoke the handler method with the given argument values.
E
- equals(Object) - Method in class org.springframework.graphql.data.ArgumentValue
- equals(Object) - Method in class org.springframework.graphql.data.method.HandlerMethod
- equals(Object) - Method in class org.springframework.graphql.server.support.GraphQlWebSocketMessage
- equals(Object) - Method in class org.springframework.graphql.support.DefaultGraphQlRequest
- error(String, List<GraphQLError>) - Static method in class org.springframework.graphql.server.support.GraphQlWebSocketMessage
-
Create an
"error"server message. - ERROR - Enum constant in enum class org.springframework.graphql.server.support.GraphQlWebSocketMessageType
- ERROR_TYPE - Enum constant in enum class org.springframework.graphql.observation.GraphQlObservationDocumentation.DataFetcherLowCardinalityKeyNames
-
Class name of the data fetching error
- errors(List<GraphQLError>) - Method in class org.springframework.graphql.support.DefaultExecutionGraphQlResponse.Builder
-
Set the
errorsof the GraphQL execution result. - errorType(DataFetcherObservationContext) - Method in class org.springframework.graphql.observation.DefaultDataFetcherObservationConvention
- ErrorType - Enum Class in org.springframework.graphql.execution
-
Common categories to use to classify for exceptions raised by
DataFetcher's that can enable a client to make automated decisions. - exceptionResolvers(List<DataFetcherExceptionResolver>) - Method in interface org.springframework.graphql.execution.GraphQlSource.Builder
-
Add
DataFetcherExceptionResolver's that are invoked when aDataFetcherraises an exception. - execute() - Method in interface org.springframework.graphql.client.GraphQlClient.RequestSpec
-
Execute request with a single response, e.g.
- execute(ExecutionGraphQlRequest) - Method in class org.springframework.graphql.execution.DefaultExecutionGraphQlService
- execute(ExecutionGraphQlRequest) - Method in interface org.springframework.graphql.ExecutionGraphQlService
-
Execute the request and return the response.
- execute(GraphQlRequest) - Method in interface org.springframework.graphql.client.GraphQlTransport
-
Execute a request with a single response such as a "query" or "mutation".
- executeSubscription() - Method in interface org.springframework.graphql.client.GraphQlClient.RequestSpec
-
Execute a "subscription" request and return a stream of responses.
- executeSubscription(GraphQlRequest) - Method in interface org.springframework.graphql.client.GraphQlTransport
-
Execute a "subscription" request with a stream of responses.
- EXECUTION_ID - Enum constant in enum class org.springframework.graphql.observation.GraphQlObservationDocumentation.ExecutionRequestHighCardinalityKeyNames
-
ExecutionIdof the GraphQL request. - EXECUTION_REQUEST - Enum constant in enum class org.springframework.graphql.observation.GraphQlObservationDocumentation
-
Observation created for GraphQL execution requests.
- ExecutionGraphQlRequest - Interface in org.springframework.graphql
-
Implementation of
GraphQlRequestfor request handling through GraphQL Java with support for customizing theExecutionInputpassed intoGraphQL. - ExecutionGraphQlResponse - Interface in org.springframework.graphql
-
Implementation of
GraphQlResponsethat wraps theExecutionResultreturned fromGraphQLto expose it asGraphQlResponse, also providing access to theExecutionInputused for the request. - ExecutionGraphQlService - Interface in org.springframework.graphql
-
Strategy to execute a GraphQL request by invoking GraphQL Java.
- executionId(ExecutionId) - Method in interface org.springframework.graphql.ExecutionGraphQlRequest
-
Configure the
ExecutionIdto set onExecutionInput.getExecutionId(), overriding the transport assignedid. - executionId(ExecutionId) - Method in class org.springframework.graphql.support.DefaultExecutionGraphQlRequest
- executionId(ExecutionRequestObservationContext) - Method in class org.springframework.graphql.observation.DefaultExecutionRequestObservationConvention
- ExecutionRequestObservationContext - Class in org.springframework.graphql.observation
-
Context that holds information for metadata collection during observations for
GraphQL requests. - ExecutionRequestObservationContext(ExecutionInput) - Constructor for class org.springframework.graphql.observation.ExecutionRequestObservationContext
- ExecutionRequestObservationConvention - Interface in org.springframework.graphql.observation
-
Interface for an
ObservationConventionforGraphQL requests. - extension(String, Object) - Method in interface org.springframework.graphql.client.GraphQlClient.RequestSpec
-
Add a value for a protocol extension.
- extensions(Map<Object, Object>) - Method in class org.springframework.graphql.support.DefaultExecutionGraphQlResponse.Builder
-
Set the
extensionsof the GraphQL execution result. - extensions(Map<String, Object>) - Method in interface org.springframework.graphql.client.GraphQlClient.RequestSpec
-
Add all given protocol extensions.
F
- field() - Element in annotation interface org.springframework.graphql.data.method.annotation.BatchMapping
-
Customize the name of the GraphQL field to bind to.
- field() - Element in annotation interface org.springframework.graphql.data.method.annotation.SchemaMapping
-
Customize the name of the GraphQL field to bind to.
- field(String) - Method in interface org.springframework.graphql.client.ClientGraphQlResponse
-
Navigate to the given path under the "data" key of the response map where the path is a dot-separated string with optional array indexes.
- field(String) - Method in interface org.springframework.graphql.GraphQlResponse
-
Navigate to the given path under the "data" key of the response map where the path is a dot-separated string with optional array indexes.
- field(String) - Method in class org.springframework.graphql.support.AbstractGraphQlResponse
- FIELD_NAME - Enum constant in enum class org.springframework.graphql.observation.GraphQlObservationDocumentation.DataFetcherLowCardinalityKeyNames
-
Name of the field being fetched.
- FIELD_PATH - Enum constant in enum class org.springframework.graphql.observation.GraphQlObservationDocumentation.DataFetcherHighCardinalityKeyNames
-
Path to the field being fetched.
- FieldAccessException - Exception in org.springframework.graphql.client
- FieldAccessException(ClientGraphQlRequest, ClientGraphQlResponse, ClientResponseField) - Constructor for exception org.springframework.graphql.client.FieldAccessException
-
Constructor with the request and response, and the accessed field.
- fieldName(DataFetcherObservationContext) - Method in class org.springframework.graphql.observation.DefaultDataFetcherObservationConvention
- fieldPath(DataFetcherObservationContext) - Method in class org.springframework.graphql.observation.DefaultDataFetcherObservationConvention
- FILE_EXTENSIONS - Static variable in class org.springframework.graphql.support.ResourceDocumentSource
-
The default file extensions, ".graphql" and ".gql".
- findProvidedArgument(MethodParameter, Object...) - Static method in class org.springframework.graphql.data.method.HandlerMethod
- FORBIDDEN - Enum constant in enum class org.springframework.graphql.execution.ErrorType
-
DataFetcherrefuses to authorize the fetching of the data value. - formatArgumentError(MethodParameter, String) - Static method in class org.springframework.graphql.data.method.HandlerMethod
- formatInvokeError(String, Object[]) - Method in class org.springframework.graphql.data.method.HandlerMethod
- forName(String) - Method in interface org.springframework.graphql.execution.BatchLoaderRegistry
-
Begin the registration of a new batch load function by specifying the name for the
DataLoader. - forName(String) - Method in class org.springframework.graphql.execution.DefaultBatchLoaderRegistry
- forSingleError(BiFunction<Throwable, DataFetchingEnvironment, GraphQLError>) - Static method in interface org.springframework.graphql.execution.DataFetcherExceptionResolver
-
Factory method to create a
DataFetcherExceptionResolverto resolve an exception to a single GraphQL error. - forSingleError(Function<Throwable, GraphQLError>) - Static method in interface org.springframework.graphql.execution.SubscriptionExceptionResolver
-
Factory method to create a
SubscriptionExceptionResolverto resolve an exception to a single GraphQL error. - forTypePair(Class<K>, Class<V>) - Method in interface org.springframework.graphql.execution.BatchLoaderRegistry
-
Begin the registration of a new batch load function by specifying the types of the keys and values that will be used as input and output.
- forTypePair(Class<K>, Class<V>) - Method in class org.springframework.graphql.execution.DefaultBatchLoaderRegistry
- from(BiFunction<Throwable, DataFetchingEnvironment, GraphQLError>) - Static method in class org.springframework.graphql.execution.DataFetcherExceptionResolverAdapter
-
Deprecated.as of 1.0.1, please use
DataFetcherExceptionResolver.forSingleError(BiFunction) - fromValue(String) - Static method in enum class org.springframework.graphql.server.support.GraphQlWebSocketMessageType
G
- getArgumentResolver(MethodParameter) - Method in class org.springframework.graphql.data.method.HandlerMethodArgumentResolverComposite
-
Find a registered
HandlerMethodArgumentResolverthat supports the given method parameter. - getAttributes() - Method in interface org.springframework.graphql.client.ClientGraphQlRequest
-
Return the client request attributes.
- getAttributes() - Method in class org.springframework.graphql.server.WebGraphQlRequest
-
Return the request or WebSocket session attributes.
- getAttributes() - Method in interface org.springframework.graphql.server.WebSocketSessionInfo
-
Return the map with attributes associated with the WebSocket session.
- getBean() - Method in class org.springframework.graphql.data.method.HandlerMethod
-
Return the bean for this handler method.
- getBeanType() - Method in class org.springframework.graphql.data.method.HandlerMethod
-
This method returns the type of the handler for this handler method.
- getBridgedMethod() - Method in class org.springframework.graphql.data.method.HandlerMethod
-
If the bean method is a bridge method, this method returns the bridged (user-defined) method.
- getBuilderInitializer() - Method in class org.springframework.graphql.client.AbstractGraphQlClientBuilder
-
Return a
Consumerto initialize new builders from "this" builder. - getCarrier() - Method in class org.springframework.graphql.observation.ExecutionRequestObservationContext
-
Deprecated, for removal: This API element is subject to removal in a future version.since 1.1.4 in favor of
ExecutionRequestObservationContext.getExecutionInput() - getCloseStatus() - Method in exception org.springframework.graphql.client.WebSocketDisconnectedException
-
Return the
CloseStatusused to close the WebSocket session. - getContainingClass() - Method in class org.springframework.graphql.data.method.HandlerMethod.HandlerMethodParameter
- getContextualName(DataFetcherObservationContext) - Method in class org.springframework.graphql.observation.DefaultDataFetcherObservationConvention
- getContextualName(ExecutionRequestObservationContext) - Method in class org.springframework.graphql.observation.DefaultExecutionRequestObservationConvention
- getCookies() - Method in class org.springframework.graphql.server.WebGraphQlRequest
-
Return the cookies of the request of WebSocket handshake.
- getData() - Method in interface org.springframework.graphql.GraphQlResponse
-
Return the data part of the response, or
nullwhen the response is notvalid. - getData() - Method in class org.springframework.graphql.support.DefaultExecutionGraphQlResponse
- getDocument() - Method in interface org.springframework.graphql.GraphQlRequest
-
Return the GraphQL document which is the textual representation of an operation (or operations) to perform, including any selection sets and fragments.
- getDocument() - Method in class org.springframework.graphql.support.DefaultGraphQlRequest
- getDocument(String) - Method in class org.springframework.graphql.support.CachingDocumentSource
- getDocument(String) - Method in interface org.springframework.graphql.support.DocumentSource
-
Return the document that matches the given name.
- getDocument(String) - Method in class org.springframework.graphql.support.ResourceDocumentSource
- getEnvironment() - Method in class org.springframework.graphql.observation.DataFetcherObservationContext
-
Return the data fetching environment provided as an input.
- getError() - Method in interface org.springframework.graphql.ResponseField
-
Deprecated.since 1.0.3 in favor of
ResponseField.getErrors() - getErrors() - Method in exception org.springframework.graphql.client.SubscriptionErrorException
-
Return the errors contained in the GraphQL over WebSocket "errors" message.
- getErrors() - Method in exception org.springframework.graphql.execution.SubscriptionPublisherException
-
Return the GraphQL errors the exception was resolved to by the configured
SubscriptionExceptionResolver's. - getErrors() - Method in interface org.springframework.graphql.GraphQlResponse
-
Return errors included in the response.
- getErrors() - Method in interface org.springframework.graphql.ResponseField
-
Return all errors that have a path, and it is at above, or below the field path.
- getErrors() - Method in class org.springframework.graphql.support.DefaultExecutionGraphQlResponse
- getErrorType() - Method in interface org.springframework.graphql.ResponseError
-
Return a classification for the error that is specific to GraphQL Java.
- getExecutionId() - Method in interface org.springframework.graphql.ExecutionGraphQlRequest
-
Return the configured
executionId. - getExecutionId() - Method in class org.springframework.graphql.support.DefaultExecutionGraphQlRequest
- getExecutionInput() - Method in interface org.springframework.graphql.ExecutionGraphQlResponse
-
Return the
ExecutionInputthat was prepared through theExecutionGraphQlRequestand passed toGraphQL. - getExecutionInput() - Method in class org.springframework.graphql.observation.ExecutionRequestObservationContext
-
Return the
inputfor the request execution. - getExecutionInput() - Method in class org.springframework.graphql.support.DefaultExecutionGraphQlResponse
- getExecutionResult() - Method in interface org.springframework.graphql.ExecutionGraphQlResponse
-
Return the
ExecutionResultthat was returned from the invocation toGraphQL. - getExecutionResult() - Method in class org.springframework.graphql.observation.ExecutionRequestObservationContext
-
Return the
resultfor the request execution. - getExecutionResult() - Method in class org.springframework.graphql.support.DefaultExecutionGraphQlResponse
- getExtensions() - Method in interface org.springframework.graphql.GraphQlRequest
-
Return implementor specific, protocol extensions, if any.
- getExtensions() - Method in interface org.springframework.graphql.GraphQlResponse
-
Return implementor specific, protocol extensions, if any.
- getExtensions() - Method in interface org.springframework.graphql.ResponseError
-
Return a map with GraphQL Java and other implementation specific protocol error detail extensions such as
ResponseError.getErrorType(), possibly empty. - getExtensions() - Method in class org.springframework.graphql.support.DefaultExecutionGraphQlResponse
- getExtensions() - Method in class org.springframework.graphql.support.DefaultGraphQlRequest
- getExtensions() - Method in class org.springframework.graphql.support.ResourceDocumentSource
-
Return a read-only list with the file extensions to try when checking for documents by name.
- getField() - Method in exception org.springframework.graphql.client.FieldAccessException
-
Return the field that needed to be accessed.
- getHeaders() - Method in class org.springframework.graphql.server.WebGraphQlRequest
-
Return the HTTP headers of the request or WebSocket handshake.
- getHeaders() - Method in interface org.springframework.graphql.server.WebSocketSessionInfo
-
Return the HTTP headers from the handshake request.
- getHighCardinalityKeyValues(DataFetcherObservationContext) - Method in class org.springframework.graphql.observation.DefaultDataFetcherObservationConvention
- getHighCardinalityKeyValues(ExecutionRequestObservationContext) - Method in class org.springframework.graphql.observation.DefaultExecutionRequestObservationConvention
- getId() - Method in interface org.springframework.graphql.ExecutionGraphQlRequest
-
Return the transport assigned id for the request that in turn sets
executionId. - getId() - Method in class org.springframework.graphql.server.support.GraphQlWebSocketMessage
-
Return the request id that is applicable to messages associated with a request, or
nullfor connection level messages. - getId() - Method in interface org.springframework.graphql.server.WebSocketSessionInfo
-
Return the id for the WebSocketSession.
- getId() - Method in class org.springframework.graphql.support.DefaultExecutionGraphQlRequest
- getInterceptors() - Method in class org.springframework.graphql.client.AbstractGraphQlClientBuilder
-
Return the configured interceptors.
- getJsonDecoder() - Method in class org.springframework.graphql.client.AbstractGraphQlClientBuilder
-
Access to the configured JSON encoder.
- getJsonEncoder() - Method in class org.springframework.graphql.client.AbstractGraphQlClientBuilder
-
Access to the configured JSON encoder.
- getLocale() - Method in interface org.springframework.graphql.ExecutionGraphQlRequest
-
Return the transport assigned locale value, if any.
- getLocale() - Method in class org.springframework.graphql.support.DefaultExecutionGraphQlRequest
- getLocations() - Method in interface org.springframework.graphql.ResponseError
-
Return a list of locations in the GraphQL document, if the error can be associated to a particular point in the document.
- getLocations() - Method in class org.springframework.graphql.support.ResourceDocumentSource
-
Return a read-only list with the configured locations where to check for documents.
- getLowCardinalityKeyValues(DataFetcherObservationContext) - Method in class org.springframework.graphql.observation.DefaultDataFetcherObservationConvention
- getLowCardinalityKeyValues(ExecutionRequestObservationContext) - Method in class org.springframework.graphql.observation.DefaultExecutionRequestObservationConvention
- getMessage() - Method in interface org.springframework.graphql.ResponseError
-
Return the message with a description of the error intended for the developer as a guide to understand and correct the error.
- getMethod() - Method in class org.springframework.graphql.data.method.HandlerMethod
-
Return the method for this handler method.
- getMethodAnnotation(Class<A>) - Method in class org.springframework.graphql.data.method.HandlerMethod
-
Return a single annotation on the underlying method traversing its super methods if no annotation can be found on the given method itself.
- getMethodAnnotation(Class<T>) - Method in class org.springframework.graphql.data.method.HandlerMethod.HandlerMethodParameter
- getMethodParameters() - Method in class org.springframework.graphql.data.method.HandlerMethod
-
Return the method parameters for this handler method.
- getName() - Method in class org.springframework.graphql.observation.DefaultDataFetcherObservationConvention
- getName() - Method in class org.springframework.graphql.observation.DefaultExecutionRequestObservationConvention
- getOperationName() - Method in interface org.springframework.graphql.GraphQlRequest
-
Return the name of the operation in the
documentto execute, if the document contains multiple operations. - getOperationName() - Method in class org.springframework.graphql.support.DefaultGraphQlRequest
- getParameterAnnotations() - Method in class org.springframework.graphql.data.method.HandlerMethod.HandlerMethodParameter
- getParsedPath() - Method in interface org.springframework.graphql.ResponseError
-
Return the path to a response field which experienced the error, if the error can be associated to a particular field in the result, or otherwise an empty list.
- getParsedPath() - Method in interface org.springframework.graphql.ResponseField
-
Return a parsed representation of the field path, in the format described for error paths in Section 7.1.2, "Response Format" of the GraphQL spec.
- getPath() - Method in interface org.springframework.graphql.ResponseError
-
Return a String representation of the
parsed path, or an empty String if the error is not associated with a field. - getPath() - Method in interface org.springframework.graphql.ResponseField
-
Return a String representation of the field path as described in
ClientGraphQlResponse.field(String). - getPayload() - Method in class org.springframework.graphql.server.support.GraphQlWebSocketMessage
-
Return the payload.
- getPrincipal() - Method in interface org.springframework.graphql.server.WebSocketSessionInfo
-
Return the principal associated with the handshake request, if any.
- getProjectionFactory() - Method in class org.springframework.graphql.data.method.annotation.support.ProjectedPayloadMethodArgumentResolver
-
Return underlying projection factory used by the resolver.
- getRemoteAddress() - Method in interface org.springframework.graphql.server.WebSocketSessionInfo
-
For a server session this is the remote address where the handshake request came from.
- getRequest() - Method in exception org.springframework.graphql.client.GraphQlClientException
-
Return the request for which the error occurred.
- getResolvers() - Method in class org.springframework.graphql.data.method.annotation.support.DataFetcherHandlerMethod
-
Return the configured argument resolvers.
- getResolvers() - Method in class org.springframework.graphql.data.method.HandlerMethodArgumentResolverComposite
-
Return a read-only list with the contained resolvers, or an empty list.
- getResponse() - Method in exception org.springframework.graphql.client.FieldAccessException
-
Return the [@code GraphQlResponse} for which the error ouccrred.
- getResponse() - Method in class org.springframework.graphql.observation.ExecutionRequestObservationContext
-
Deprecated, for removal: This API element is subject to removal in a future version.since 1.1.4 in favor of
ExecutionRequestObservationContext.getExecutionResult() - getResponseHeaders() - Method in class org.springframework.graphql.server.WebGraphQlResponse
-
Return the headers to be added to the HTTP response.
- getReturnType() - Method in class org.springframework.graphql.data.method.HandlerMethod
-
Return the HandlerMethod return type.
- getReturnValueType(Object) - Method in class org.springframework.graphql.data.method.HandlerMethod
-
Return the actual return value type.
- getSessionInfo() - Method in class org.springframework.graphql.server.WebSocketGraphQlRequest
-
Return information about the underlying WebSocket session.
- getShortLogMessage() - Method in class org.springframework.graphql.data.method.HandlerMethod
-
Return a short representation of this handler method for log message purposes.
- getSubProtocols() - Method in class org.springframework.graphql.server.webflux.GraphQlWebSocketHandler
- getSubProtocols() - Method in class org.springframework.graphql.server.webmvc.GraphQlWebSocketHandler
- getType() - Method in class org.springframework.graphql.server.support.GraphQlWebSocketMessage
-
Return the message type value as it should appear on the wire.
- getType(TypeResolutionEnvironment) - Method in class org.springframework.graphql.execution.ClassNameTypeResolver
- getUri() - Method in class org.springframework.graphql.server.WebGraphQlRequest
-
Return the URL for the HTTP request or WebSocket handshake.
- getUri() - Method in interface org.springframework.graphql.server.WebSocketSessionInfo
-
Return the URL for the WebSocket endpoint.
- getValue() - Method in class org.springframework.graphql.execution.SecurityContextThreadLocalAccessor
- getValue() - Method in class org.springframework.graphql.observation.DataFetcherObservationContext
-
Return the value returned by the
DataFetcher, if any. - getValue() - Method in interface org.springframework.graphql.ResponseField
-
Return the raw field value, e.g.
- getVariables() - Method in interface org.springframework.graphql.GraphQlRequest
-
Return values for variable defined by the operation.
- getVariables() - Method in class org.springframework.graphql.support.DefaultGraphQlRequest
- getWebSocketInterceptor() - Method in interface org.springframework.graphql.server.WebGraphQlHandler
-
Return the single interceptor of type
WebSocketGraphQlInterceptoramong all the configured interceptors. - GraphiQlHandler - Class in org.springframework.graphql.server.webflux
-
Spring WebFlux handler to serve a GraphiQl UI page.
- GraphiQlHandler - Class in org.springframework.graphql.server.webmvc
-
Spring MVC handler to serve a GraphiQl UI page.
- GraphiQlHandler(String, String) - Constructor for class org.springframework.graphql.server.webflux.GraphiQlHandler
-
Constructor that serves the default
graphiql/index.htmlincluded in thespring-graphqlmodule. - GraphiQlHandler(String, String) - Constructor for class org.springframework.graphql.server.webmvc.GraphiQlHandler
-
Constructor that serves the default
graphiql/index.htmlincluded in thespring-graphqlmodule. - GraphiQlHandler(String, String, Resource) - Constructor for class org.springframework.graphql.server.webflux.GraphiQlHandler
-
Constructor with the HTML page to serve.
- GraphiQlHandler(String, String, Resource) - Constructor for class org.springframework.graphql.server.webmvc.GraphiQlHandler
-
Constructor with the HTML page to serve.
- graphQl() - Method in interface org.springframework.graphql.execution.GraphQlSource
-
Return the
GraphQLto use. - GraphQlArgumentBinder - Class in org.springframework.graphql.data
-
Binder that instantiates and populates a target Object to reflect the complete structure of the
GraphQL argumentsinput map. - GraphQlArgumentBinder() - Constructor for class org.springframework.graphql.data.GraphQlArgumentBinder
- GraphQlArgumentBinder(ConversionService) - Constructor for class org.springframework.graphql.data.GraphQlArgumentBinder
- GraphQlClient - Interface in org.springframework.graphql.client
-
Define a workflow to execute GraphQL requests that is independent of the underlying transport.
- GraphQlClient.Builder<B extends GraphQlClient.Builder<B>> - Interface in org.springframework.graphql.client
-
Defines a builder for creating
GraphQlClientinstances. - GraphQlClient.RequestSpec - Interface in org.springframework.graphql.client
-
Declare options to gather input for a GraphQL request and execute it.
- GraphQlClient.RetrieveSpec - Interface in org.springframework.graphql.client
-
Declares options to decode a field for a single response operation.
- GraphQlClient.RetrieveSubscriptionSpec - Interface in org.springframework.graphql.client
-
Declares options to decode a field in each response of a subscription.
- GraphQlClientException - Exception in org.springframework.graphql.client
-
Base class for exceptions from
GraphQlClient. - GraphQlClientException(String, Throwable, GraphQlRequest) - Constructor for exception org.springframework.graphql.client.GraphQlClientException
-
Constructor with a message, optional cause, and the request details.
- GraphQlClientInterceptor - Interface in org.springframework.graphql.client
-
Interceptor for
GraphQlClientrequests. - GraphQlClientInterceptor.Chain - Interface in org.springframework.graphql.client
-
Contract for delegation of single response requests to the rest of the chain.
- GraphQlClientInterceptor.SubscriptionChain - Interface in org.springframework.graphql.client
-
Contract for delegation of subscription requests to the rest of the chain.
- GraphQlContextAccessor - Class in org.springframework.graphql.execution
-
ContextAccessorthat enables support for reading and writing values to and from aGraphQLContext. - GraphQlContextAccessor() - Constructor for class org.springframework.graphql.execution.GraphQlContextAccessor
- GraphQlHttpHandler - Class in org.springframework.graphql.server.webflux
-
WebFlux.fn Handler for GraphQL over HTTP requests.
- GraphQlHttpHandler - Class in org.springframework.graphql.server.webmvc
-
GraphQL handler to expose as a WebMvc.fn endpoint via
RouterFunctions. - GraphQlHttpHandler(WebGraphQlHandler) - Constructor for class org.springframework.graphql.server.webflux.GraphQlHttpHandler
-
Create a new instance.
- GraphQlHttpHandler(WebGraphQlHandler) - Constructor for class org.springframework.graphql.server.webmvc.GraphQlHttpHandler
-
Create a new instance.
- GraphQlObservationDocumentation - Enum Class in org.springframework.graphql.observation
-
Documented
KeyValuesforGraphQL server observations. - GraphQlObservationDocumentation.DataFetcherHighCardinalityKeyNames - Enum Class in org.springframework.graphql.observation
- GraphQlObservationDocumentation.DataFetcherLowCardinalityKeyNames - Enum Class in org.springframework.graphql.observation
- GraphQlObservationDocumentation.ExecutionRequestHighCardinalityKeyNames - Enum Class in org.springframework.graphql.observation
- GraphQlObservationDocumentation.ExecutionRequestLowCardinalityKeyNames - Enum Class in org.springframework.graphql.observation
- GraphQlObservationInstrumentation - Class in org.springframework.graphql.observation
-
SimpleInstrumentationthat createsobservationsfor GraphQL requests and data fetcher operations. - GraphQlObservationInstrumentation(ObservationRegistry) - Constructor for class org.springframework.graphql.observation.GraphQlObservationInstrumentation
-
Create an
GraphQlObservationInstrumentationthat records observations against the givenObservationRegistry. - GraphQlObservationInstrumentation(ObservationRegistry, ExecutionRequestObservationConvention, DataFetcherObservationConvention) - Constructor for class org.springframework.graphql.observation.GraphQlObservationInstrumentation
-
Create an
GraphQlObservationInstrumentationthat records observations against the givenObservationRegistrywith a custom convention. - GraphQlRepository - Annotation Interface in org.springframework.graphql.data
-
Specialization of the
Repositorystereotype that marks a repository as intended for use in a GraphQL application for data fetching. - GraphQlRequest - Interface in org.springframework.graphql
-
Represents a GraphQL request with the inputs to pass to a GraphQL service including a
document,operationName, andvariables. - GraphQlResponse - Interface in org.springframework.graphql
-
Represents a GraphQL response with the result of executing a request operation.
- GraphQlRSocketHandler - Class in org.springframework.graphql.server
-
Handler for GraphQL over RSocket requests.
- GraphQlRSocketHandler(ExecutionGraphQlService, List<RSocketGraphQlInterceptor>, Encoder<?>) - Constructor for class org.springframework.graphql.server.GraphQlRSocketHandler
-
Create a new instance that handles requests through a chain of interceptors followed by the given
ExecutionGraphQlService. - GraphQlSource - Interface in org.springframework.graphql.execution
-
Strategy to resolve a
GraphQLand aGraphQLSchema. - GraphQlSource.Builder<B extends GraphQlSource.Builder<B>> - Interface in org.springframework.graphql.execution
-
Common configuration options for all
GraphQlSourcebuilders, independent of howGraphQLSchemais created. - GraphQlSource.SchemaResourceBuilder - Interface in org.springframework.graphql.execution
-
GraphQlSourcebuilder that relies on parsing schema definition files and uses aRuntimeWiringto create the underlyingGraphQLSchema. - GraphQlTransport - Interface in org.springframework.graphql.client
-
Contract for executing GraphQL requests over some transport.
- GraphQlTransportException - Exception in org.springframework.graphql.client
-
Exception raised by a
GraphQlTransportor used to wrap an exception from aGraphQlTransportimplementation. - GraphQlTransportException(String, Throwable, GraphQlRequest) - Constructor for exception org.springframework.graphql.client.GraphQlTransportException
-
Constructor with a given message.
- GraphQlTransportException(Throwable, GraphQlRequest) - Constructor for exception org.springframework.graphql.client.GraphQlTransportException
-
Constructor with a default message.
- GraphQlWebSocketHandler - Class in org.springframework.graphql.server.webflux
-
WebSocketHandler for GraphQL based on GraphQL Over WebSocket Protocol and for use in a Spring WebFlux application.
- GraphQlWebSocketHandler - Class in org.springframework.graphql.server.webmvc
-
WebSocketHandler for GraphQL based on GraphQL Over WebSocket Protocol and for use on a Servlet container with
spring-websocket. - GraphQlWebSocketHandler(WebGraphQlHandler, CodecConfigurer, Duration) - Constructor for class org.springframework.graphql.server.webflux.GraphQlWebSocketHandler
-
Create a new instance.
- GraphQlWebSocketHandler(WebGraphQlHandler, HttpMessageConverter<?>, Duration) - Constructor for class org.springframework.graphql.server.webmvc.GraphQlWebSocketHandler
-
Create a new instance.
- GraphQlWebSocketMessage - Class in org.springframework.graphql.server.support
-
Represents a GraphQL over WebSocket protocol message.
- GraphQlWebSocketMessageType - Enum Class in org.springframework.graphql.server.support
-
Enum for a message type as defined in the GraphQL over WebSocket spec proposal.
H
- handle(Map<String, Object>) - Method in class org.springframework.graphql.server.GraphQlRSocketHandler
-
Handle a
Request-Responseinteraction. - handle(WebSocketSession) - Method in class org.springframework.graphql.server.webflux.GraphQlWebSocketHandler
- handleCancelledSubscription(WebSocketSessionInfo, String) - Method in interface org.springframework.graphql.server.WebSocketGraphQlInterceptor
-
Handle the
"complete"message that a client sends to stop a subscription stream. - handleConnectionAck(Map<String, Object>) - Method in interface org.springframework.graphql.client.WebSocketGraphQlClientInterceptor
-
Handler the
"connection_ack"message received from the server at the start of the WebSocket connection. - handleConnectionClosed(WebSocketSessionInfo, int, Map<String, Object>) - Method in interface org.springframework.graphql.server.WebSocketGraphQlInterceptor
-
Invoked when the WebSocket session is closed, from either side.
- handleConnectionInitialization(WebSocketSessionInfo, Map<String, Object>) - Method in interface org.springframework.graphql.server.WebSocketGraphQlInterceptor
-
Handle the
"connection_init"message at the start of a GraphQL over WebSocket session and return an optional payload for the"connection_ack"message to send back. - handleRequest(WebGraphQlRequest) - Method in interface org.springframework.graphql.server.WebGraphQlHandler
-
Execute the given request and return the response.
- handleRequest(ServerRequest) - Method in class org.springframework.graphql.server.webflux.GraphiQlHandler
-
Render the GraphiQL page as "text/html", or if the "path" query parameter is missing, add it and redirect back to the same URL.
- handleRequest(ServerRequest) - Method in class org.springframework.graphql.server.webflux.GraphQlHttpHandler
-
Handle GraphQL requests over HTTP.
- handleRequest(ServerRequest) - Method in class org.springframework.graphql.server.webflux.SchemaHandler
- handleRequest(ServerRequest) - Method in class org.springframework.graphql.server.webmvc.GraphiQlHandler
-
Render the GraphiQL page as "text/html", or if the "path" query parameter is missing, add it and redirect back to the same URL.
- handleRequest(ServerRequest) - Method in class org.springframework.graphql.server.webmvc.GraphQlHttpHandler
-
Handle GraphQL requests over HTTP.
- handleRequest(ServerRequest) - Method in class org.springframework.graphql.server.webmvc.SchemaHandler
- HandlerMethod - Class in org.springframework.graphql.data.method
- HandlerMethod(Object, Method) - Constructor for class org.springframework.graphql.data.method.HandlerMethod
-
Constructor with a handler instance and a method.
- HandlerMethod(String, BeanFactory, Method) - Constructor for class org.springframework.graphql.data.method.HandlerMethod
-
Constructor with a bean name for the handler along with a
BeanFactoryto allowresolvingthe handler instance later. - HandlerMethod(HandlerMethod) - Constructor for class org.springframework.graphql.data.method.HandlerMethod
-
Copy constructor for use from subclasses that accept more arguments.
- HandlerMethod.HandlerMethodParameter - Class in org.springframework.graphql.data.method
-
A MethodParameter with HandlerMethod-specific behavior.
- HandlerMethodArgumentResolver - Interface in org.springframework.graphql.data.method
-
Strategy interface for resolving method parameters into argument values in the context of a given
DataFetchingEnvironment. - HandlerMethodArgumentResolverComposite - Class in org.springframework.graphql.data.method
-
Resolves method parameters by delegating to a list of registered
HandlerMethodArgumentResolver's. - HandlerMethodArgumentResolverComposite() - Constructor for class org.springframework.graphql.data.method.HandlerMethodArgumentResolverComposite
- HandlerMethodParameter(int) - Constructor for class org.springframework.graphql.data.method.HandlerMethod.HandlerMethodParameter
- HandlerMethodParameter(HandlerMethod.HandlerMethodParameter) - Constructor for class org.springframework.graphql.data.method.HandlerMethod.HandlerMethodParameter
- handleSubscription(Map<String, Object>) - Method in class org.springframework.graphql.server.GraphQlRSocketHandler
-
Handle a
Request-Streaminteraction. - handleTextMessage(WebSocketSession, TextMessage) - Method in class org.springframework.graphql.server.webmvc.GraphQlWebSocketHandler
- handleTransportError(WebSocketSession, Throwable) - Method in class org.springframework.graphql.server.webmvc.GraphQlWebSocketHandler
- hashCode() - Method in class org.springframework.graphql.data.ArgumentValue
- hashCode() - Method in class org.springframework.graphql.data.method.HandlerMethod
- hashCode() - Method in class org.springframework.graphql.server.support.GraphQlWebSocketMessage
- hashCode() - Method in class org.springframework.graphql.support.DefaultGraphQlRequest
- hasMethodAnnotation(Class<A>) - Method in class org.springframework.graphql.data.method.HandlerMethod
-
Return whether the parameter is declared with the given annotation type.
- hasMethodAnnotation(Class<T>) - Method in class org.springframework.graphql.data.method.HandlerMethod.HandlerMethodParameter
- hasValue() - Method in interface org.springframework.graphql.ResponseField
-
Deprecated.as of 1.0.3 in favor of checking via
ResponseField.getValue() - header(String, String...) - Method in interface org.springframework.graphql.client.WebGraphQlClient.Builder
-
Add the given header to HTTP requests or to the WebSocket handshake request.
- headers(Consumer<HttpHeaders>) - Method in interface org.springframework.graphql.client.WebGraphQlClient.Builder
-
Variant of
WebGraphQlClient.Builder.header(String, String...)that provides access to the underlying headers to inspect or modify directly. - HttpGraphQlClient - Interface in org.springframework.graphql.client
-
GraphQL over HTTP client that uses
WebClient. - HttpGraphQlClient.Builder<B extends HttpGraphQlClient.Builder<B>> - Interface in org.springframework.graphql.client
-
Builder for the GraphQL over HTTP client.
I
- initWebSocketHttpRequestHandler(HandshakeHandler) - Method in class org.springframework.graphql.server.webmvc.GraphQlWebSocketHandler
-
Initialize a
WebSocketHttpRequestHandlerthat wraps this instance and also inserts aHandshakeInterceptorfor context propagation. - instrumentation(List<Instrumentation>) - Method in interface org.springframework.graphql.execution.GraphQlSource.Builder
-
Provide
Instrumentationcomponents to instrument the execution of GraphQL queries. - instrumentDataFetcher(DataFetcher<?>, InstrumentationFieldFetchParameters, InstrumentationState) - Method in class org.springframework.graphql.observation.GraphQlObservationInstrumentation
- intercept(ClientGraphQlRequest, GraphQlClientInterceptor.Chain) - Method in interface org.springframework.graphql.client.GraphQlClientInterceptor
-
Intercept a single response request (query and mutation operations) and delegate to the rest of the chain including other interceptors followed by the
GraphQlTransport. - intercept(RSocketGraphQlRequest, RSocketGraphQlInterceptor.Chain) - Method in interface org.springframework.graphql.server.RSocketGraphQlInterceptor
-
Intercept a request and delegate to the rest of the chain including other interceptors and a
ExecutionGraphQlService. - intercept(WebGraphQlRequest, WebGraphQlInterceptor.Chain) - Method in class org.springframework.graphql.observation.PropagationWebGraphQlInterceptor
-
Deprecated.
- intercept(WebGraphQlRequest, WebGraphQlInterceptor.Chain) - Method in interface org.springframework.graphql.server.WebGraphQlInterceptor
-
Intercept a request and delegate to the rest of the chain including other interceptors and a
ExecutionGraphQlService. - intercept(WebGraphQlRequest, WebGraphQlInterceptor.Chain) - Method in interface org.springframework.graphql.server.WebSocketGraphQlInterceptor
- interceptor(GraphQlClientInterceptor...) - Method in class org.springframework.graphql.client.AbstractGraphQlClientBuilder
- interceptor(GraphQlClientInterceptor...) - Method in interface org.springframework.graphql.client.GraphQlClient.Builder
-
Configure interceptors to be invoked before delegating to the
GraphQlTransportto perform the request. - interceptor(WebGraphQlInterceptor...) - Method in interface org.springframework.graphql.server.WebGraphQlHandler.Builder
-
Configure interceptors to be invoked before the target
GraphQlService. - interceptors(Consumer<List<GraphQlClientInterceptor>>) - Method in class org.springframework.graphql.client.AbstractGraphQlClientBuilder
- interceptors(Consumer<List<GraphQlClientInterceptor>>) - Method in interface org.springframework.graphql.client.GraphQlClient.Builder
-
Customize the list of interceptors.
- interceptors(List<WebGraphQlInterceptor>) - Method in interface org.springframework.graphql.server.WebGraphQlHandler.Builder
-
Alternative to
WebGraphQlHandler.Builder.interceptor(WebGraphQlInterceptor...)with a List. - interceptSubscription(ClientGraphQlRequest, GraphQlClientInterceptor.SubscriptionChain) - Method in interface org.springframework.graphql.client.GraphQlClientInterceptor
-
Intercept a subscription request and delegate to the rest of the chain including other interceptors followed by the
GraphQlTransport. - INTERNAL_ERROR - Enum constant in enum class org.springframework.graphql.execution.ErrorType
-
DataFetcherencountered an unexpected condition that prevented it from fetching the data value. - InvocableHandlerMethodSupport - Class in org.springframework.graphql.data.method
-
Extension of
HandlerMethodthat adds support for invoking the underlying handler methods. - InvocableHandlerMethodSupport(HandlerMethod, Executor) - Constructor for class org.springframework.graphql.data.method.InvocableHandlerMethodSupport
-
Create an instance.
- invoke(DataFetchingEnvironment) - Method in class org.springframework.graphql.data.method.annotation.support.DataFetcherHandlerMethod
-
Invoke the method after resolving its argument values in the context of the given
DataFetchingEnvironment. - invokeForIterable(Collection<?>, BatchLoaderEnvironment) - Method in class org.springframework.graphql.data.method.annotation.support.BatchLoaderHandlerMethod
-
Invoke the underlying batch loader method with a collection of input keys to return a collection of matching values.
- invokeForMap(Collection<K>, BatchLoaderEnvironment) - Method in class org.springframework.graphql.data.method.annotation.support.BatchLoaderHandlerMethod
-
Invoke the underlying batch loader method with a collection of keys to return a Map of key-value pairs.
- isCacheEnabled() - Method in class org.springframework.graphql.support.CachingDocumentSource
-
Whether
cachingis enabled. - isOmitted() - Method in class org.springframework.graphql.data.ArgumentValue
-
Return
trueif the input value was omitted altogether from the input, andfalseif it was provided, but possibly set to the "null" literal. - isPresent() - Method in class org.springframework.graphql.data.ArgumentValue
-
Return
trueif a non-null value is present, andfalseotherwise. - isThreadLocalContextAware() - Method in class org.springframework.graphql.execution.DataFetcherExceptionResolverAdapter
-
Whether ThreadLocal context needs to be restored for this resolver.
- isThreadLocalContextAware() - Method in class org.springframework.graphql.execution.SubscriptionExceptionResolverAdapter
-
Whether ThreadLocal context needs to be restored for this resolver.
- isValid() - Method in interface org.springframework.graphql.GraphQlResponse
-
Whether the response is valid.
- isValid() - Method in class org.springframework.graphql.support.DefaultExecutionGraphQlResponse
- isVoid() - Method in class org.springframework.graphql.data.method.HandlerMethod
-
Return
trueif the method return type is void,falseotherwise.
J
- jackson2Present - Static variable in class org.springframework.graphql.client.AbstractGraphQlClientBuilder
K
- key() - Method in class org.springframework.graphql.execution.SecurityContextThreadLocalAccessor
L
- LocalContextValue - Annotation Interface in org.springframework.graphql.data.method.annotation
-
Annotation to bind a method parameter to an attribute from the
localGraphQLContext. - LocalContextValueMethodArgumentResolver - Class in org.springframework.graphql.data.method.annotation.support
-
Resolver for a
@LocalContextValueannotated method parameter. - LocalContextValueMethodArgumentResolver() - Constructor for class org.springframework.graphql.data.method.annotation.support.LocalContextValueMethodArgumentResolver
- logger - Static variable in class org.springframework.graphql.data.method.HandlerMethod
- logger - Variable in class org.springframework.graphql.execution.DataFetcherExceptionResolverAdapter
- logger - Variable in class org.springframework.graphql.execution.SubscriptionExceptionResolverAdapter
M
- many() - Method in class org.springframework.graphql.data.query.QueryByExampleDataFetcher.Builder
-
Build a
DataFetcherto fetch many object instances. - many() - Method in class org.springframework.graphql.data.query.QueryByExampleDataFetcher.ReactiveBuilder
-
Build a
DataFetcherto fetch many object instances. - many() - Method in class org.springframework.graphql.data.query.QuerydslDataFetcher.Builder
-
Build a
DataFetcherto fetch many object instances. - many() - Method in class org.springframework.graphql.data.query.QuerydslDataFetcher.ReactiveBuilder
-
Build a
DataFetcherto fetch many object instances. - maxBatchSize() - Element in annotation interface org.springframework.graphql.data.method.annotation.BatchMapping
-
Set the maximum number of keys to include a single batch, before splitting into multiple batches of keys to load.
- MissingSchemaException - Exception in org.springframework.graphql.execution
-
Indicates that no GraphQL schema definition was configured on the
GraphQlSource.Builder. - MissingSchemaException() - Constructor for exception org.springframework.graphql.execution.MissingSchemaException
- mutate() - Method in interface org.springframework.graphql.client.GraphQlClient
-
Return a builder initialized from the configuration of "this" client to use to build a new, independently configured client instance.
- mutate() - Method in interface org.springframework.graphql.client.HttpGraphQlClient
- mutate() - Method in interface org.springframework.graphql.client.RSocketGraphQlClient
- mutate() - Method in interface org.springframework.graphql.client.WebGraphQlClient
- mutate() - Method in interface org.springframework.graphql.client.WebSocketGraphQlClient
- MutationMapping - Annotation Interface in org.springframework.graphql.data.method.annotation
-
@MutationMappingis a composed annotation that acts as a shortcut for@SchemaMappingwithtypeName="Mutation".
N
- name() - Element in annotation interface org.springframework.graphql.data.method.annotation.Argument
-
The name of the input argument to bind to.
- name() - Element in annotation interface org.springframework.graphql.data.method.annotation.ContextValue
-
The name of the value to bind to.
- name() - Element in annotation interface org.springframework.graphql.data.method.annotation.LocalContextValue
-
The name of the value to bind to.
- name() - Element in annotation interface org.springframework.graphql.data.method.annotation.MutationMapping
-
Alias for
SchemaMapping.field(). - name() - Element in annotation interface org.springframework.graphql.data.method.annotation.QueryMapping
-
Alias for
SchemaMapping.field(). - name() - Element in annotation interface org.springframework.graphql.data.method.annotation.SubscriptionMapping
-
Alias for
SchemaMapping.field(). - next(String, Map<String, Object>) - Static method in class org.springframework.graphql.server.support.GraphQlWebSocketMessage
-
Create a
"next"server message. - next(ClientGraphQlRequest) - Method in interface org.springframework.graphql.client.GraphQlClientInterceptor.Chain
-
Delegate to the rest of the chain to perform the request.
- next(ClientGraphQlRequest) - Method in interface org.springframework.graphql.client.GraphQlClientInterceptor.SubscriptionChain
-
Delegate to the rest of the chain to perform the request.
- next(RSocketGraphQlRequest) - Method in interface org.springframework.graphql.server.RSocketGraphQlInterceptor.Chain
-
Delegate to the rest of the chain to execute the request.
- next(WebGraphQlRequest) - Method in interface org.springframework.graphql.server.WebGraphQlInterceptor.Chain
-
Delegate to the rest of the chain to execute the request.
- NEXT - Enum constant in enum class org.springframework.graphql.server.support.GraphQlWebSocketMessageType
- NOT_FOUND - Enum constant in enum class org.springframework.graphql.execution.ErrorType
-
DataFetcherdid not find a data value or is not willing to disclose that one exists. - NOT_SPECIFIED - Enum constant in enum class org.springframework.graphql.server.support.GraphQlWebSocketMessageType
-
Indicates the GraphQL message did not have a message type.
O
- obtainApplicationContext() - Method in class org.springframework.graphql.data.method.annotation.support.AnnotatedControllerConfigurer
- ofNullable(T) - Static method in class org.springframework.graphql.data.ArgumentValue
-
Static factory method for an argument value that was provided, even if it was set to "null.
- omitted() - Static method in class org.springframework.graphql.data.ArgumentValue
-
Static factory method for an argument value that was omitted.
- operation(ExecutionRequestObservationContext) - Method in class org.springframework.graphql.observation.DefaultExecutionRequestObservationConvention
- OPERATION - Enum constant in enum class org.springframework.graphql.observation.GraphQlObservationDocumentation.ExecutionRequestLowCardinalityKeyNames
-
GraphQL Operation name.
- operationName(String) - Method in interface org.springframework.graphql.client.GraphQlClient.RequestSpec
-
Set the name of the operation in the
documentto execute, if the document contains multiple operations. - org.springframework.graphql - package org.springframework.graphql
-
Top level abstractions for processing GraphQL requests.
- org.springframework.graphql.client - package org.springframework.graphql.client
-
This package contains a
GraphQlClientalong with HTTP and WebSocket extensions. - org.springframework.graphql.data - package org.springframework.graphql.data
-
Support for various ways to implement
DataFetchers. - org.springframework.graphql.data.method - package org.springframework.graphql.data.method
-
Support for DataFetcher's based on handler methods typically annotated with
SchemaMappingannotations. - org.springframework.graphql.data.method.annotation - package org.springframework.graphql.data.method.annotation
-
Annotations for binding data fetching methods to GraphQL schema queries, mutations, subscriptions, and fields.
- org.springframework.graphql.data.method.annotation.support - package org.springframework.graphql.data.method.annotation.support
-
Resolvers for method parameters of annotated handler methods.
- org.springframework.graphql.data.query - package org.springframework.graphql.data.query
-
DataFetcherimplementations built on Spring Data extensions such as Query by Example and Querydsl. - org.springframework.graphql.execution - package org.springframework.graphql.execution
-
Support for GraphQL request execution, including abstractions to configure and invoke
GraphQL. - org.springframework.graphql.observation - package org.springframework.graphql.observation
-
Support for GraphQL
observability. - org.springframework.graphql.server - package org.springframework.graphql.server
-
Server transports handling GraphQL requests over the HTTP, WebSocket, and RSocket.
- org.springframework.graphql.server.support - package org.springframework.graphql.server.support
-
Support classes for Web transports.
- org.springframework.graphql.server.webflux - package org.springframework.graphql.server.webflux
-
HTTP and WebSocket handlers for use in a Spring WebFlux application.
- org.springframework.graphql.server.webmvc - package org.springframework.graphql.server.webmvc
-
HTTP and WebSocket handlers for use in a Spring WebMvc application.
- org.springframework.graphql.support - package org.springframework.graphql.support
-
Support classes for Spring GraphQL.
- outcome(DataFetcherObservationContext) - Method in class org.springframework.graphql.observation.DefaultDataFetcherObservationConvention
- outcome(ExecutionRequestObservationContext) - Method in class org.springframework.graphql.observation.DefaultExecutionRequestObservationConvention
- OUTCOME - Enum constant in enum class org.springframework.graphql.observation.GraphQlObservationDocumentation.DataFetcherLowCardinalityKeyNames
-
Outcome of the GraphQL data fetching operation.
- OUTCOME - Enum constant in enum class org.springframework.graphql.observation.GraphQlObservationDocumentation.ExecutionRequestLowCardinalityKeyNames
-
Outcome of the GraphQL request.
P
- ping(Object) - Static method in class org.springframework.graphql.server.support.GraphQlWebSocketMessage
-
Create a
"ping"client or server message. - PING - Enum constant in enum class org.springframework.graphql.server.support.GraphQlWebSocketMessageType
- pong(Object) - Static method in class org.springframework.graphql.server.support.GraphQlWebSocketMessage
-
Create a
"pong"client or server message. - PONG - Enum constant in enum class org.springframework.graphql.server.support.GraphQlWebSocketMessageType
- PrincipalMethodArgumentResolver - Class in org.springframework.graphql.data.method.annotation.support
-
Resolver to obtain
Principalfrom Spring Security context viaSecurityContext.getAuthentication(). - PrincipalMethodArgumentResolver() - Constructor for class org.springframework.graphql.data.method.annotation.support.PrincipalMethodArgumentResolver
- projectAs(Class<P>) - Method in class org.springframework.graphql.data.query.QueryByExampleDataFetcher.Builder
-
Project results returned from the
QueryByExampleExecutorinto the targetprojectionType. - projectAs(Class<P>) - Method in class org.springframework.graphql.data.query.QueryByExampleDataFetcher.ReactiveBuilder
-
Project results returned from the
ReactiveQueryByExampleExecutorinto the targetprojectionType. - projectAs(Class<P>) - Method in class org.springframework.graphql.data.query.QuerydslDataFetcher.Builder
-
Project results returned from the
QuerydslPredicateExecutorinto the targetprojectionType. - projectAs(Class<P>) - Method in class org.springframework.graphql.data.query.QuerydslDataFetcher.ReactiveBuilder
-
Project results returned from the
ReactiveQuerydslPredicateExecutorinto the targetprojectionType. - ProjectedPayloadMethodArgumentResolver - Class in org.springframework.graphql.data.method.annotation.support
-
Resolver for a method parameter that is an interface annotated with
@ProjectedPayload. - ProjectedPayloadMethodArgumentResolver(ApplicationContext) - Constructor for class org.springframework.graphql.data.method.annotation.support.ProjectedPayloadMethodArgumentResolver
-
Create a new
ProjectedPayloadMethodArgumentResolverusing the given context. - PropagationWebGraphQlInterceptor - Class in org.springframework.graphql.observation
-
Deprecated, for removal: This API element is subject to removal in a future version.since 1.1.4 with no replacement.
- PropagationWebGraphQlInterceptor(Propagator) - Constructor for class org.springframework.graphql.observation.PropagationWebGraphQlInterceptor
-
Deprecated.Create an interceptor that leverages the field names used by the given
Propagatorinstance.
Q
- QueryByExampleDataFetcher<T> - Class in org.springframework.graphql.data.query
-
Main class to create a
DataFetcherfrom a Query By Example repository. - QueryByExampleDataFetcher.Builder<T,
R> - Class in org.springframework.graphql.data.query -
Builder for a Query by Example-based
DataFetcher. - QueryByExampleDataFetcher.QueryByExampleBuilderCustomizer<T> - Interface in org.springframework.graphql.data.query
-
Callback interface that can be used to customize QueryByExampleDataFetcher
QueryByExampleDataFetcher.Builderto change its configuration. - QueryByExampleDataFetcher.ReactiveBuilder<T,
R> - Class in org.springframework.graphql.data.query -
Builder for a reactive Query by Example-based
DataFetcher. - QueryByExampleDataFetcher.ReactiveQueryByExampleBuilderCustomizer<T> - Interface in org.springframework.graphql.data.query
-
Callback interface that can be used to customize QueryByExampleDataFetcher
QueryByExampleDataFetcher.ReactiveBuilderto change its configuration. - QuerydslDataFetcher<T> - Class in org.springframework.graphql.data.query
-
Main class to create a
DataFetcherfrom a Querydsl repository. - QuerydslDataFetcher.Builder<T,
R> - Class in org.springframework.graphql.data.query -
Builder for a Querydsl-based
DataFetcher. - QuerydslDataFetcher.QuerydslBuilderCustomizer<T> - Interface in org.springframework.graphql.data.query
-
Callback interface that can be used to customize QuerydslDataFetcher
QuerydslDataFetcher.Builderto change its configuration. - QuerydslDataFetcher.ReactiveBuilder<T,
R> - Class in org.springframework.graphql.data.query -
Builder for a reactive Querydsl-based
DataFetcher. - QuerydslDataFetcher.ReactiveQuerydslBuilderCustomizer<T> - Interface in org.springframework.graphql.data.query
-
Callback interface that can be used to customize QuerydslDataFetcher
QuerydslDataFetcher.ReactiveBuilderto change its configuration. - QueryMapping - Annotation Interface in org.springframework.graphql.data.method.annotation
-
@QueryMappingis a composed annotation that acts as a shortcut for@SchemaMappingwithtypeName="Query".
R
- ReactiveSecurityDataFetcherExceptionResolver - Class in org.springframework.graphql.execution
-
Reactive
DataFetcherExceptionResolverfor Spring Security exceptions. - ReactiveSecurityDataFetcherExceptionResolver() - Constructor for class org.springframework.graphql.execution.ReactiveSecurityDataFetcherExceptionResolver
- readableType() - Method in class org.springframework.graphql.execution.GraphQlContextAccessor
- readValue(GraphQLContext, Object) - Method in class org.springframework.graphql.execution.GraphQlContextAccessor
- readValues(GraphQLContext, Predicate<Object>, Map<Object, Object>) - Method in class org.springframework.graphql.execution.GraphQlContextAccessor
- registerBatchLoader(BiFunction<List<K>, BatchLoaderEnvironment, Flux<V>>) - Method in interface org.springframework.graphql.execution.BatchLoaderRegistry.RegistrationSpec
-
Register the give batch loading function.
- registerDataLoaders(DataLoaderRegistry, GraphQLContext) - Method in interface org.springframework.graphql.execution.DataLoaderRegistrar
-
Callback that provides access to the
DataLoaderRegistryfrom the theExecutionInput. - registerDataLoaders(DataLoaderRegistry, GraphQLContext) - Method in class org.springframework.graphql.execution.DefaultBatchLoaderRegistry
- registerMappedBatchLoader(BiFunction<Set<K>, BatchLoaderEnvironment, Mono<Map<K, V>>>) - Method in interface org.springframework.graphql.execution.BatchLoaderRegistry.RegistrationSpec
-
A variant of
BatchLoaderRegistry.RegistrationSpec.registerBatchLoader(BiFunction)that returns a Map of key-value pairs, which is useful is there aren't values for all keys. - required() - Element in annotation interface org.springframework.graphql.data.method.annotation.ContextValue
-
Whether the value is required.
- required() - Element in annotation interface org.springframework.graphql.data.method.annotation.LocalContextValue
-
Whether the value is required.
- requiresProjection(Class<?>) - Method in class org.springframework.graphql.data.query.QueryByExampleDataFetcher
- requiresProjection(Class<?>) - Method in class org.springframework.graphql.data.query.QuerydslDataFetcher
- reset() - Method in class org.springframework.graphql.execution.SecurityContextThreadLocalAccessor
- resolveArgument(MethodParameter, DataFetchingEnvironment) - Method in class org.springframework.graphql.data.method.annotation.support.ArgumentMapMethodArgumentResolver
- resolveArgument(MethodParameter, DataFetchingEnvironment) - Method in class org.springframework.graphql.data.method.annotation.support.ArgumentMethodArgumentResolver
- resolveArgument(MethodParameter, DataFetchingEnvironment) - Method in class org.springframework.graphql.data.method.annotation.support.ArgumentsMethodArgumentResolver
- resolveArgument(MethodParameter, DataFetchingEnvironment) - Method in class org.springframework.graphql.data.method.annotation.support.AuthenticationPrincipalArgumentResolver
- resolveArgument(MethodParameter, DataFetchingEnvironment) - Method in class org.springframework.graphql.data.method.annotation.support.ContextValueMethodArgumentResolver
- resolveArgument(MethodParameter, DataFetchingEnvironment) - Method in class org.springframework.graphql.data.method.annotation.support.ContinuationHandlerMethodArgumentResolver
- resolveArgument(MethodParameter, DataFetchingEnvironment) - Method in class org.springframework.graphql.data.method.annotation.support.DataFetchingEnvironmentMethodArgumentResolver
- resolveArgument(MethodParameter, DataFetchingEnvironment) - Method in class org.springframework.graphql.data.method.annotation.support.DataLoaderMethodArgumentResolver
- resolveArgument(MethodParameter, DataFetchingEnvironment) - Method in class org.springframework.graphql.data.method.annotation.support.LocalContextValueMethodArgumentResolver
- resolveArgument(MethodParameter, DataFetchingEnvironment) - Method in class org.springframework.graphql.data.method.annotation.support.PrincipalMethodArgumentResolver
- resolveArgument(MethodParameter, DataFetchingEnvironment) - Method in class org.springframework.graphql.data.method.annotation.support.ProjectedPayloadMethodArgumentResolver
- resolveArgument(MethodParameter, DataFetchingEnvironment) - Method in class org.springframework.graphql.data.method.annotation.support.SourceMethodArgumentResolver
- resolveArgument(MethodParameter, DataFetchingEnvironment) - Method in interface org.springframework.graphql.data.method.HandlerMethodArgumentResolver
-
Resolve a method parameter to a value.
- resolveArgument(MethodParameter, DataFetchingEnvironment) - Method in class org.springframework.graphql.data.method.HandlerMethodArgumentResolverComposite
-
Iterate over registered
HandlerMethodArgumentResolversand invoke the one that supports it. - resolvedType() - Method in class org.springframework.graphql.server.support.GraphQlWebSocketMessage
-
Return the message type as an emum.
- resolveException(Throwable) - Method in interface org.springframework.graphql.execution.SubscriptionExceptionResolver
-
Resolve the given exception to a list of
GraphQLError's to be sent in an error message to the client. - resolveException(Throwable) - Method in class org.springframework.graphql.execution.SubscriptionExceptionResolverAdapter
- resolveException(Throwable, DataFetchingEnvironment) - Method in interface org.springframework.graphql.execution.DataFetcherExceptionResolver
-
Resolve the given exception and return the error(s) to add to the response.
- resolveException(Throwable, DataFetchingEnvironment) - Method in class org.springframework.graphql.execution.DataFetcherExceptionResolverAdapter
- resolveException(Throwable, DataFetchingEnvironment) - Method in class org.springframework.graphql.execution.ReactiveSecurityDataFetcherExceptionResolver
- resolveToMultipleErrors(Throwable) - Method in class org.springframework.graphql.execution.SubscriptionExceptionResolverAdapter
-
Override this method to resolve the Exception to multiple GraphQL errors.
- resolveToMultipleErrors(Throwable, DataFetchingEnvironment) - Method in class org.springframework.graphql.execution.DataFetcherExceptionResolverAdapter
-
Override this method to resolve an Exception to multiple GraphQL errors.
- resolveToSingleError(Throwable) - Method in class org.springframework.graphql.execution.SubscriptionExceptionResolverAdapter
-
Override this method to resolve the Exception to a single GraphQL error.
- resolveToSingleError(Throwable, DataFetchingEnvironment) - Method in class org.springframework.graphql.execution.DataFetcherExceptionResolverAdapter
-
Override this method to resolve an Exception to a single GraphQL error.
- resolveToSingleError(Throwable, DataFetchingEnvironment) - Method in class org.springframework.graphql.execution.SecurityDataFetcherExceptionResolver
- ResourceDocumentSource - Class in org.springframework.graphql.support
-
DocumentSourcethat looks for a documentResourceunder a set of locations and trying a number of different file extension. - ResourceDocumentSource() - Constructor for class org.springframework.graphql.support.ResourceDocumentSource
-
Default constructor that sets the location to
"classpath:graphql/"and the extensions to ".graphql" and ".gql". - ResourceDocumentSource(List<Resource>, List<String>) - Constructor for class org.springframework.graphql.support.ResourceDocumentSource
-
Constructor with given locations and extensions.
- ResponseError - Interface in org.springframework.graphql
-
Represents a GraphQL response error.
- ResponseField - Interface in org.springframework.graphql
-
Representation for a field in a GraphQL response, with options to examine the field value and errors.
- retrieve(String) - Method in interface org.springframework.graphql.client.GraphQlClient.RequestSpec
-
Shortcut for
GraphQlClient.RequestSpec.execute()with a field path to decode from. - retrieveSubscription(String) - Method in interface org.springframework.graphql.client.GraphQlClient.RequestSpec
-
Shortcut for
GraphQlClient.RequestSpec.executeSubscription()with a field path to decode from for each result. - route(String) - Method in interface org.springframework.graphql.client.RSocketGraphQlClient.Builder
-
Customize the route to specify in the metadata of each request so the server can route it to the handler for GraphQL requests.
- RSocketGraphQlClient - Interface in org.springframework.graphql.client
-
GraphQL over RSocket client that uses
RSocketRequester. - RSocketGraphQlClient.Builder<B extends RSocketGraphQlClient.Builder<B>> - Interface in org.springframework.graphql.client
-
Builder for the GraphQL over HTTP client.
- RSocketGraphQlInterceptor - Interface in org.springframework.graphql.server
-
Interceptor for server handling of GraphQL over RSocket requests, allowing customization of the
ExecutionInputand theExecutionResult. - RSocketGraphQlInterceptor.Chain - Interface in org.springframework.graphql.server
-
Contract for delegation to the rest of the chain.
- RSocketGraphQlRequest - Class in org.springframework.graphql.server
-
GraphQlRequestimplementation for server handling over RSocket. - RSocketGraphQlRequest(Map<String, Object>, String, Locale) - Constructor for class org.springframework.graphql.server.RSocketGraphQlRequest
-
Create an instance.
- RSocketGraphQlResponse - Class in org.springframework.graphql.server
-
GraphQlResponseimplementation for server handling over RSocket. - RSocketGraphQlResponse(ExecutionGraphQlResponse) - Constructor for class org.springframework.graphql.server.RSocketGraphQlResponse
-
Create an instance that wraps the given
ExecutionGraphQlResponse. - RSocketGraphQlResponse.Builder - Class in org.springframework.graphql.server
-
Builder to transform a
RSocketGraphQlResponse. - rsocketRequester(Consumer<RSocketRequester.Builder>) - Method in interface org.springframework.graphql.client.RSocketGraphQlClient.Builder
-
Customize the underlying
RSocketRequesterto use. - RuntimeWiringConfigurer - Interface in org.springframework.graphql.execution
-
Callbacks that allow applying changes to the
RuntimeWiring.BuilderinGraphQlSource.Builder.
S
- schema() - Method in interface org.springframework.graphql.execution.GraphQlSource
-
Return the
GraphQLSchemaused by the currentGraphQL. - schemaFactory(BiFunction<TypeDefinitionRegistry, RuntimeWiring, GraphQLSchema>) - Method in interface org.springframework.graphql.execution.GraphQlSource.SchemaResourceBuilder
-
Configure a function to create the
GraphQLSchemafrom the givenTypeDefinitionRegistryandRuntimeWiring. - SchemaHandler - Class in org.springframework.graphql.server.webflux
-
Spring WebFlux functional handler that renders the
GraphQLSchemaprinted viaSchemaPrinter. - SchemaHandler - Class in org.springframework.graphql.server.webmvc
-
Spring MVC functional handler that renders the
GraphQLSchemaprinted viaSchemaPrinter. - SchemaHandler(GraphQlSource) - Constructor for class org.springframework.graphql.server.webflux.SchemaHandler
- SchemaHandler(GraphQlSource) - Constructor for class org.springframework.graphql.server.webmvc.SchemaHandler
- SchemaMapping - Annotation Interface in org.springframework.graphql.data.method.annotation
-
Annotation to express the mapping of a handler method to a GraphQL type and field pair.
- schemaResourceBuilder() - Static method in interface org.springframework.graphql.execution.GraphQlSource
-
Return a
GraphQlSourcebuilder that parses GraphQL Schema resources and usesRuntimeWiringto create theGraphQLSchema. - schemaResources(Resource...) - Method in interface org.springframework.graphql.execution.GraphQlSource.SchemaResourceBuilder
- SecurityContextThreadLocalAccessor - Class in org.springframework.graphql.execution
-
ThreadLocalAccessorto extract and restore security context throughSecurityContextHolder. - SecurityContextThreadLocalAccessor() - Constructor for class org.springframework.graphql.execution.SecurityContextThreadLocalAccessor
- SecurityDataFetcherExceptionResolver - Class in org.springframework.graphql.execution
-
DataFetcherExceptionResolverfor Spring Security exceptions. - SecurityDataFetcherExceptionResolver() - Constructor for class org.springframework.graphql.execution.SecurityDataFetcherExceptionResolver
- setApplicationContext(ApplicationContext) - Method in class org.springframework.graphql.data.method.annotation.support.AnnotatedControllerConfigurer
- setAuthenticationTrustResolver(AuthenticationTrustResolver) - Method in class org.springframework.graphql.execution.ReactiveSecurityDataFetcherExceptionResolver
-
Set the resolver to use to check if an authentication is anonymous that in turn determines whether
AccessDeniedExceptionis classified as "unauthorized" or "forbidden". - setAuthenticationTrustResolver(AuthenticationTrustResolver) - Method in class org.springframework.graphql.execution.SecurityDataFetcherExceptionResolver
-
Set the resolver to use to check if an authentication is anonymous that in turn determines whether
AccessDeniedExceptionis classified as "unauthorized" or "forbidden". - setCacheEnabled(boolean) - Method in class org.springframework.graphql.support.CachingDocumentSource
-
Enable or disable caching of resolved documents.
- setClassNameExtractor(Function<Class<?>, String>) - Method in class org.springframework.graphql.execution.ClassNameTypeResolver
-
Customize how the name of a class, or a base class/interface, is determined.
- setDataBinderInitializer(Consumer<DataBinder>) - Method in class org.springframework.graphql.data.method.annotation.support.AnnotatedControllerConfigurer
-
Deprecated, for removal: This API element is subject to removal in a future version.this property is deprecated, ignored, and should not be necessary as a
DataBinderis no longer used to bind arguments - setExecutionResult(ExecutionResult) - Method in class org.springframework.graphql.observation.ExecutionRequestObservationContext
-
Set the
resultfor the request execution. - setExecutor(Executor) - Method in class org.springframework.graphql.data.method.annotation.support.AnnotatedControllerConfigurer
- setId(String) - Method in class org.springframework.graphql.server.support.GraphQlWebSocketMessage
- setJsonCodecs(Encoder<?>, Decoder<?>) - Method in class org.springframework.graphql.client.AbstractGraphQlClientBuilder
-
Transport-specific subclasses can provide their JSON
EncoderandDecoderfor use at the client level, for mapping response data to some target entity type. - setJsonDecoder(Decoder<?>) - Method in class org.springframework.graphql.client.AbstractGraphQlClientBuilder
-
Variant of
AbstractGraphQlClientBuilder.setJsonCodecs(org.springframework.core.codec.Encoder<?>, org.springframework.core.codec.Decoder<?>)for setting each codec individually. - setJsonEncoder(Encoder<?>) - Method in class org.springframework.graphql.client.AbstractGraphQlClientBuilder
-
Variant of
AbstractGraphQlClientBuilder.setJsonCodecs(org.springframework.core.codec.Encoder<?>, org.springframework.core.codec.Decoder<?>)for setting each codec individually. - setPayload(Object) - Method in class org.springframework.graphql.server.support.GraphQlWebSocketMessage
- setThreadLocalContextAware(boolean) - Method in class org.springframework.graphql.execution.DataFetcherExceptionResolverAdapter
-
Subclasses can set this to indicate that ThreadLocal context from the transport handler (e.g.
- setThreadLocalContextAware(boolean) - Method in class org.springframework.graphql.execution.SubscriptionExceptionResolverAdapter
-
Subclasses can set this to indicate that ThreadLocal context from the transport handler (e.g.
- setType(String) - Method in class org.springframework.graphql.server.support.GraphQlWebSocketMessage
- setValue(Object) - Method in class org.springframework.graphql.execution.SecurityContextThreadLocalAccessor
- single() - Method in class org.springframework.graphql.data.query.QueryByExampleDataFetcher.Builder
-
Build a
DataFetcherto fetch single object instances. - single() - Method in class org.springframework.graphql.data.query.QueryByExampleDataFetcher.ReactiveBuilder
-
Build a
DataFetcherto fetch single object instances. - single() - Method in class org.springframework.graphql.data.query.QuerydslDataFetcher.Builder
-
Build a
DataFetcherto fetch single object instances. - single() - Method in class org.springframework.graphql.data.query.QuerydslDataFetcher.ReactiveBuilder
-
Build a
DataFetcherto fetch single object instances}. - sortBy(Sort) - Method in class org.springframework.graphql.data.query.QueryByExampleDataFetcher.Builder
-
Apply a
Sortorder. - sortBy(Sort) - Method in class org.springframework.graphql.data.query.QueryByExampleDataFetcher.ReactiveBuilder
-
Apply a
Sortorder. - sortBy(Sort) - Method in class org.springframework.graphql.data.query.QuerydslDataFetcher.Builder
-
Apply a
Sortorder. - sortBy(Sort) - Method in class org.springframework.graphql.data.query.QuerydslDataFetcher.ReactiveBuilder
-
Apply a
Sortorder. - SourceMethodArgumentResolver - Class in org.springframework.graphql.data.method.annotation.support
-
Resolver for the source/parent of a field, obtained via
DataFetchingEnvironment.getSource(). - SourceMethodArgumentResolver() - Constructor for class org.springframework.graphql.data.method.annotation.support.SourceMethodArgumentResolver
- start() - Method in interface org.springframework.graphql.client.RSocketGraphQlClient
-
Start the RSocket session.
- start() - Method in interface org.springframework.graphql.client.WebSocketGraphQlClient
-
Start the GraphQL session by connecting the WebSocket, sending the "connection_init" and receiving the "connection_ack" message.
- stop() - Method in interface org.springframework.graphql.client.RSocketGraphQlClient
-
Stop the RSocket session.
- stop() - Method in interface org.springframework.graphql.client.WebSocketGraphQlClient
-
Stop the GraphQL session by closing the WebSocket with
CloseStatus.NORMALand terminating in-progress requests with an error signal. - subscribe(String, GraphQlRequest) - Static method in class org.springframework.graphql.server.support.GraphQlWebSocketMessage
-
Create a
"subscribe"client message. - SUBSCRIBE - Enum constant in enum class org.springframework.graphql.server.support.GraphQlWebSocketMessageType
- SubscriptionErrorException - Exception in org.springframework.graphql.client
-
WebSocket
GraphQlTransportExceptionraised when a subscription ends with an"error"message. - SubscriptionErrorException(GraphQlRequest, List<ResponseError>) - Constructor for exception org.springframework.graphql.client.SubscriptionErrorException
-
Constructor with the request details and the errors listed in the payload of the
"errors"message. - SubscriptionExceptionResolver - Interface in org.springframework.graphql.execution
-
Contract for a component that is invoked when a GraphQL subscription
Publisherends with an error. - SubscriptionExceptionResolverAdapter - Class in org.springframework.graphql.execution
-
Adapter for
SubscriptionExceptionResolverthat pre-implements the asynchronous contract and exposes the following synchronous protected methods:SubscriptionExceptionResolverAdapter.resolveToSingleError(java.lang.Throwable)SubscriptionExceptionResolverAdapter.resolveToMultipleErrors(java.lang.Throwable) - SubscriptionExceptionResolverAdapter() - Constructor for class org.springframework.graphql.execution.SubscriptionExceptionResolverAdapter
- subscriptionExceptionResolvers(List<SubscriptionExceptionResolver>) - Method in interface org.springframework.graphql.execution.GraphQlSource.Builder
-
Add
SubscriptionExceptionResolvers that are invoked when a GraphQL subscriptionPublisherends with error, and given a chance to resolve the exception to one or more GraphQL errors to be sent to the client. - SubscriptionMapping - Annotation Interface in org.springframework.graphql.data.method.annotation
-
@SubscriptionMappingis a composed annotation that acts as a shortcut for@SchemaMappingwithtypeName="Subscription". - SubscriptionPublisherException - Exception in org.springframework.graphql.execution
-
An exception raised after a GraphQL subscription
Publisherends with an exception, and after that exception has been resolved to GraphQL errors. - SubscriptionPublisherException(List<GraphQLError>, Throwable) - Constructor for exception org.springframework.graphql.execution.SubscriptionPublisherException
-
Constructor with the resolved GraphQL errors and the original exception from the GraphQL subscription
Publisher. - supportsContext(Observation.Context) - Method in interface org.springframework.graphql.observation.DataFetcherObservationConvention
- supportsContext(Observation.Context) - Method in interface org.springframework.graphql.observation.ExecutionRequestObservationConvention
- supportsParameter(MethodParameter) - Method in class org.springframework.graphql.data.method.annotation.support.ArgumentMapMethodArgumentResolver
- supportsParameter(MethodParameter) - Method in class org.springframework.graphql.data.method.annotation.support.ArgumentMethodArgumentResolver
- supportsParameter(MethodParameter) - Method in class org.springframework.graphql.data.method.annotation.support.ArgumentsMethodArgumentResolver
- supportsParameter(MethodParameter) - Method in class org.springframework.graphql.data.method.annotation.support.AuthenticationPrincipalArgumentResolver
- supportsParameter(MethodParameter) - Method in class org.springframework.graphql.data.method.annotation.support.ContextValueMethodArgumentResolver
- supportsParameter(MethodParameter) - Method in class org.springframework.graphql.data.method.annotation.support.ContinuationHandlerMethodArgumentResolver
- supportsParameter(MethodParameter) - Method in class org.springframework.graphql.data.method.annotation.support.DataFetchingEnvironmentMethodArgumentResolver
- supportsParameter(MethodParameter) - Method in class org.springframework.graphql.data.method.annotation.support.DataLoaderMethodArgumentResolver
- supportsParameter(MethodParameter) - Method in class org.springframework.graphql.data.method.annotation.support.LocalContextValueMethodArgumentResolver
- supportsParameter(MethodParameter) - Method in class org.springframework.graphql.data.method.annotation.support.PrincipalMethodArgumentResolver
-
Return "true" if the argument is
Principalor a sub-type. - supportsParameter(MethodParameter) - Method in class org.springframework.graphql.data.method.annotation.support.ProjectedPayloadMethodArgumentResolver
- supportsParameter(MethodParameter) - Method in class org.springframework.graphql.data.method.annotation.support.SourceMethodArgumentResolver
- supportsParameter(MethodParameter) - Method in interface org.springframework.graphql.data.method.HandlerMethodArgumentResolver
-
Whether this resolver supports the given
MethodParameter. - supportsParameter(MethodParameter) - Method in class org.springframework.graphql.data.method.HandlerMethodArgumentResolverComposite
-
Whether the given method parameter is supported by any registered
HandlerMethodArgumentResolver. - supportsPartialMessages() - Method in class org.springframework.graphql.server.webmvc.GraphQlWebSocketHandler
T
- tcp(String, int) - Method in interface org.springframework.graphql.client.RSocketGraphQlClient.Builder
-
Select TCP as the underlying network protocol.
- toArgsMono(Object[]) - Method in class org.springframework.graphql.data.method.InvocableHandlerMethodSupport
-
Use this method to resolve the arguments asynchronously.
- toEntity(Class<D>) - Method in interface org.springframework.graphql.client.ClientGraphQlResponse
-
Decode the full response map to the given target type.
- toEntity(Class<D>) - Method in interface org.springframework.graphql.client.ClientResponseField
-
Decode the field to an entity of the given type.
- toEntity(Class<D>) - Method in interface org.springframework.graphql.client.GraphQlClient.RetrieveSpec
-
Decode the field to an entity of the given type.
- toEntity(Class<D>) - Method in interface org.springframework.graphql.client.GraphQlClient.RetrieveSubscriptionSpec
-
Decode the field to an entity of the given type.
- toEntity(ParameterizedTypeReference<D>) - Method in interface org.springframework.graphql.client.ClientGraphQlResponse
-
Variant of
ClientGraphQlResponse.toEntity(Class)with aParameterizedTypeReference. - toEntity(ParameterizedTypeReference<D>) - Method in interface org.springframework.graphql.client.ClientResponseField
-
Variant of
ClientResponseField.toEntity(Class)with aParameterizedTypeReference. - toEntity(ParameterizedTypeReference<D>) - Method in interface org.springframework.graphql.client.GraphQlClient.RetrieveSpec
-
Variant of
GraphQlClient.RetrieveSpec.toEntity(Class)with aParameterizedTypeReference. - toEntity(ParameterizedTypeReference<D>) - Method in interface org.springframework.graphql.client.GraphQlClient.RetrieveSubscriptionSpec
-
Variant of
GraphQlClient.RetrieveSubscriptionSpec.toEntity(Class)with aParameterizedTypeReference. - toEntityList(Class<D>) - Method in interface org.springframework.graphql.client.ClientResponseField
-
Variant of
ClientResponseField.toEntity(Class)to decode to a list of entities. - toEntityList(Class<D>) - Method in interface org.springframework.graphql.client.GraphQlClient.RetrieveSpec
-
Variant of
GraphQlClient.RetrieveSpec.toEntity(Class)to decode to a List of entities. - toEntityList(Class<D>) - Method in interface org.springframework.graphql.client.GraphQlClient.RetrieveSubscriptionSpec
-
Variant of
GraphQlClient.RetrieveSubscriptionSpec.toEntity(Class)to decode each response to a List of entities. - toEntityList(ParameterizedTypeReference<D>) - Method in interface org.springframework.graphql.client.ClientResponseField
-
Variant of
ClientResponseField.toEntity(Class)to decode to a list of entities. - toEntityList(ParameterizedTypeReference<D>) - Method in interface org.springframework.graphql.client.GraphQlClient.RetrieveSpec
-
Variant of
GraphQlClient.RetrieveSpec.toEntity(Class)to decode to a List of entities. - toEntityList(ParameterizedTypeReference<D>) - Method in interface org.springframework.graphql.client.GraphQlClient.RetrieveSubscriptionSpec
-
Variant of
GraphQlClient.RetrieveSubscriptionSpec.toEntity(Class)to decode each response to a List of entities. - toExecutionInput() - Method in interface org.springframework.graphql.ExecutionGraphQlRequest
-
Create the
ExecutionInputto pass toGraphQL. - toExecutionInput() - Method in class org.springframework.graphql.support.DefaultExecutionGraphQlRequest
- toMap() - Method in interface org.springframework.graphql.GraphQlRequest
-
Convert the request to a
Mapas defined in GraphQL over HTTP and GraphQL over WebSocket: KeyValue querydocumentoperationNameoperationNamevariablesvariables - toMap() - Method in interface org.springframework.graphql.GraphQlResponse
-
Return a map representation of the response, formatted as required in the "Response" section of the GraphQL spec.
- toMap() - Method in class org.springframework.graphql.support.DefaultExecutionGraphQlResponse
- toMap() - Method in class org.springframework.graphql.support.DefaultGraphQlRequest
- toString() - Method in class org.springframework.graphql.data.method.HandlerMethod
- toString() - Method in class org.springframework.graphql.server.support.GraphQlWebSocketMessage
- toString() - Method in enum class org.springframework.graphql.server.support.GraphQlWebSocketMessageType
- toString() - Method in class org.springframework.graphql.support.DefaultExecutionGraphQlRequest
- toString() - Method in class org.springframework.graphql.support.DefaultExecutionGraphQlResponse
- toString() - Method in class org.springframework.graphql.support.DefaultGraphQlRequest
- transform(Consumer<RSocketGraphQlResponse.Builder>) - Method in class org.springframework.graphql.server.RSocketGraphQlResponse
-
Transform the underlying
ExecutionResultthrough aRSocketGraphQlResponse.Builderand return a new instance with the modified values. - transform(Consumer<WebGraphQlResponse.Builder>) - Method in class org.springframework.graphql.server.WebGraphQlResponse
-
Transform the underlying
ExecutionResultthrough aWebGraphQlResponse.Builderand return a new instance with the modified values. - typeName() - Element in annotation interface org.springframework.graphql.data.GraphQlRepository
-
Use this to customize the name of the GraphQL type that matches to the repository domain type.
- typeName() - Element in annotation interface org.springframework.graphql.data.method.annotation.BatchMapping
-
Customizes the name of the source/parent type for the GraphQL field.
- typeName() - Element in annotation interface org.springframework.graphql.data.method.annotation.SchemaMapping
-
Customizes the name of the source/parent type for the GraphQL field.
- typeVisitors(List<GraphQLTypeVisitor>) - Method in interface org.springframework.graphql.execution.GraphQlSource.Builder
-
Add
GraphQLTypeVisitors to visit all element of the createdGraphQLSchemaand make changes to theGraphQLCodeRegistry. - typeVisitorsToTransformSchema(List<GraphQLTypeVisitor>) - Method in interface org.springframework.graphql.execution.GraphQlSource.Builder
-
Alternative to
GraphQlSource.Builder.typeVisitors(List)for visitors that also need to make schema changes.
U
- UNAUTHORIZED - Enum constant in enum class org.springframework.graphql.execution.ErrorType
-
DataFetcherdid not fetch the data value due to a lack of valid authentication credentials. - url(String) - Method in interface org.springframework.graphql.client.WebGraphQlClient.Builder
-
Set the GraphQL endpoint URL as a String.
- url(URI) - Method in interface org.springframework.graphql.client.WebGraphQlClient.Builder
-
Set the GraphQL endpoint URL.
V
- value() - Method in class org.springframework.graphql.data.ArgumentValue
-
Return the contained value, or
null. - value() - Element in annotation interface org.springframework.graphql.data.method.annotation.Argument
-
Alias for
Argument.name(). - value() - Element in annotation interface org.springframework.graphql.data.method.annotation.BatchMapping
-
Effectively an alias for
BatchMapping.field(). - value() - Element in annotation interface org.springframework.graphql.data.method.annotation.ContextValue
-
Alias for
ContextValue.name(). - value() - Element in annotation interface org.springframework.graphql.data.method.annotation.LocalContextValue
-
Alias for
LocalContextValue.name(). - value() - Element in annotation interface org.springframework.graphql.data.method.annotation.MutationMapping
-
Alias for
SchemaMapping.field(). - value() - Element in annotation interface org.springframework.graphql.data.method.annotation.QueryMapping
-
Alias for
SchemaMapping.field(). - value() - Element in annotation interface org.springframework.graphql.data.method.annotation.SchemaMapping
-
Effectively an alias for
SchemaMapping.field(). - value() - Element in annotation interface org.springframework.graphql.data.method.annotation.SubscriptionMapping
-
Alias for
SchemaMapping.field(). - value() - Method in enum class org.springframework.graphql.server.support.GraphQlWebSocketMessageType
-
The protocol value for the message type.
- valueOf(String) - Static method in enum class org.springframework.graphql.execution.ErrorType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.graphql.observation.GraphQlObservationDocumentation.DataFetcherHighCardinalityKeyNames
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.graphql.observation.GraphQlObservationDocumentation.DataFetcherLowCardinalityKeyNames
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.graphql.observation.GraphQlObservationDocumentation.ExecutionRequestHighCardinalityKeyNames
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.graphql.observation.GraphQlObservationDocumentation.ExecutionRequestLowCardinalityKeyNames
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.graphql.observation.GraphQlObservationDocumentation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.graphql.server.support.GraphQlWebSocketMessageType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.springframework.graphql.execution.ErrorType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.graphql.observation.GraphQlObservationDocumentation.DataFetcherHighCardinalityKeyNames
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.graphql.observation.GraphQlObservationDocumentation.DataFetcherLowCardinalityKeyNames
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.graphql.observation.GraphQlObservationDocumentation.ExecutionRequestHighCardinalityKeyNames
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.graphql.observation.GraphQlObservationDocumentation.ExecutionRequestLowCardinalityKeyNames
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.graphql.observation.GraphQlObservationDocumentation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.graphql.server.support.GraphQlWebSocketMessageType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- variable(String, Object) - Method in interface org.springframework.graphql.client.GraphQlClient.RequestSpec
-
Add a value for a variable defined by the operation.
- variables(Map<String, Object>) - Method in interface org.springframework.graphql.client.GraphQlClient.RequestSpec
-
Add all given values for variables defined by the operation.
W
- webClient(Consumer<WebClient.Builder>) - Method in interface org.springframework.graphql.client.HttpGraphQlClient.Builder
-
Customize the
WebClientto use. - WebGraphQlClient - Interface in org.springframework.graphql.client
-
Base contract for the HTTP and WebSocket
GraphQlClientextensions. - WebGraphQlClient.Builder<B extends WebGraphQlClient.Builder<B>> - Interface in org.springframework.graphql.client
-
Base builder for GraphQL clients over a Web transport.
- WebGraphQlHandler - Interface in org.springframework.graphql.server
-
Contract for common handling of a GraphQL request over HTTP or WebSocket, for use with Spring MVC or Spring WebFlux.
- WebGraphQlHandler.Builder - Interface in org.springframework.graphql.server
-
Builder for a
WebGraphQlHandlerthat executes aWebGraphQlInterceptorchain followed by aExecutionGraphQlService. - WebGraphQlInterceptor - Interface in org.springframework.graphql.server
-
Interceptor for server handling of GraphQL over HTTP or WebSocket requests, providing access to info about the underlying HTTP request or WebSocket handshake, and allowing customization of the
ExecutionInputand theExecutionResult. - WebGraphQlInterceptor.Chain - Interface in org.springframework.graphql.server
-
Contract for delegation to the rest of the chain.
- WebGraphQlRequest - Class in org.springframework.graphql.server
-
GraphQlRequestimplementation for server handling over HTTP or WebSocket. - WebGraphQlRequest(URI, HttpHeaders, Map<String, Object>, String, Locale) - Constructor for class org.springframework.graphql.server.WebGraphQlRequest
-
Deprecated.as of 1.1.3 in favor of the constructor with cookies
- WebGraphQlRequest(URI, HttpHeaders, MultiValueMap<String, HttpCookie>, Map<String, Object>, Map<String, Object>, String, Locale) - Constructor for class org.springframework.graphql.server.WebGraphQlRequest
-
Create an instance.
- WebGraphQlResponse - Class in org.springframework.graphql.server
-
GraphQlResponseimplementation for server handling over HTTP or over WebSocket. - WebGraphQlResponse(ExecutionGraphQlResponse) - Constructor for class org.springframework.graphql.server.WebGraphQlResponse
-
Create an instance that wraps the given
ExecutionGraphQlResponse. - WebGraphQlResponse.Builder - Class in org.springframework.graphql.server
-
Builder to transform a
WebGraphQlResponse. - webSocket(URI) - Method in interface org.springframework.graphql.client.RSocketGraphQlClient.Builder
-
Select WebSocket as the underlying network protocol.
- WebSocketDisconnectedException - Exception in org.springframework.graphql.client
-
WebSocket related
GraphQlTransportExceptionraised when the connection is closed while a request or subscription is in progress. - WebSocketDisconnectedException(String, GraphQlRequest, CloseStatus) - Constructor for exception org.springframework.graphql.client.WebSocketDisconnectedException
-
Constructor with an explanation about the closure, along with the request details and the status used to close the WebSocket session.
- WebSocketGraphQlClient - Interface in org.springframework.graphql.client
-
GraphQL over WebSocket client that uses
WebSocketClient. - WebSocketGraphQlClient.Builder<B extends WebSocketGraphQlClient.Builder<B>> - Interface in org.springframework.graphql.client
-
Builder for a GraphQL over WebSocket client.
- WebSocketGraphQlClientInterceptor - Interface in org.springframework.graphql.client
-
An extension of
GraphQlClientInterceptorwith additional methods to for WebSocket interception points. - WebSocketGraphQlInterceptor - Interface in org.springframework.graphql.server
-
An extension of
WebGraphQlInterceptorwith additional methods to handle the start and end of a WebSocket connection. - WebSocketGraphQlRequest - Class in org.springframework.graphql.server
-
WebGraphQlRequestextension for server handling of GraphQL over WebSocket requests. - WebSocketGraphQlRequest(URI, HttpHeaders, Map<String, Object>, String, Locale, WebSocketSessionInfo) - Constructor for class org.springframework.graphql.server.WebSocketGraphQlRequest
-
Deprecated.as of 1.1.3 in favor of the constructor with cookies
- WebSocketGraphQlRequest(URI, HttpHeaders, MultiValueMap<String, HttpCookie>, Map<String, Object>, Map<String, Object>, String, Locale, WebSocketSessionInfo) - Constructor for class org.springframework.graphql.server.WebSocketGraphQlRequest
-
Create an instance.
- WebSocketSessionInfo - Interface in org.springframework.graphql.server
-
Expose information about the underlying WebSocketSession including the session id, the attributes, and HTTP handshake request.
- withName(String) - Method in interface org.springframework.graphql.execution.BatchLoaderRegistry.RegistrationSpec
-
Customize the name under which the
DataLoaderis registered and can be accessed in the data layer. - withOptions(Consumer<DataLoaderOptions>) - Method in interface org.springframework.graphql.execution.BatchLoaderRegistry.RegistrationSpec
-
Customize the
DataLoaderOptionsto use to create theDataLoaderviaDataLoaderFactory. - withOptions(DataLoaderOptions) - Method in interface org.springframework.graphql.execution.BatchLoaderRegistry.RegistrationSpec
-
Set the
DataLoaderOptionsto use to create theDataLoaderviaDataLoaderFactory. - writeableType() - Method in class org.springframework.graphql.execution.GraphQlContextAccessor
- writeValues(Map<Object, Object>, GraphQLContext) - Method in class org.springframework.graphql.execution.GraphQlContextAccessor
All Classes and Interfaces|All Packages|Serialized Form
DataBinderis no longer used to bind arguments