Package org.springframework.graphql.server.support
@NullMarked
package org.springframework.graphql.server.support
Support classes for Web transports.
-
ClassDescriptionBase class for interceptors that extract an
Authenticationfrom the payload of a"connection_init"GraphQL over WebSocket message.Strategy to extract anAuthenticationfrom the payload of a"connection_init"GraphQL over WebSocket message.AuthenticationExtractorthat extracts a bearer token.Represents a GraphQL over WebSocket protocol message.Enum for a message type as defined in the GraphQL over WebSocket spec proposal.Interceptor that copies HTTP request headers to the GraphQL context to make them available to data fetchers such as annotated controllers, which can use@ContextValuemethod parameters to access the headers as context values.Builder forHttpRequestHeaderInterceptor.GraphQlRequestfor deserialization from a request.