Index
All Classes and Interfaces|All Packages|Serialized Form
S
- satisfies(Consumer<D>) - Method in interface org.springframework.graphql.test.tester.GraphQlTester.Entity
-
Verify the entity with the given
Consumer. - satisfy(Consumer<List<ResponseError>>) - Method in interface org.springframework.graphql.test.tester.GraphQlTester.Errors
-
Inspect errors in the response, if any.
- 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.
- 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.
- start() - Method in interface org.springframework.graphql.test.tester.RSocketGraphQlTester
-
Start the RSocket session.
- start() - Method in interface org.springframework.graphql.test.tester.WebSocketGraphQlTester
-
This is delegated to the
start()method of the underlyingWebSocketGraphQlClient. - 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. - stop() - Method in interface org.springframework.graphql.test.tester.RSocketGraphQlTester
-
Stop the RSocket session.
- stop() - Method in interface org.springframework.graphql.test.tester.WebSocketGraphQlTester
-
This is delegated to the
stop()method of the underlyingWebSocketGraphQlClient. - 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
All Classes and Interfaces|All Packages|Serialized Form
DataBinderis no longer used to bind arguments