Uses of Interface
org.springframework.graphql.GraphQlRequest
Package
Description
Top level abstractions for processing GraphQL requests.
This package contains a
GraphQlClient
along with HTTP and WebSocket extensions.Server transports handling GraphQL requests over the HTTP, WebSocket, and RSocket.
Support classes for Web transports.
Support classes for Spring GraphQL.
-
Uses of GraphQlRequest in org.springframework.graphql
Modifier and TypeInterfaceDescriptioninterface
Implementation ofGraphQlRequest
for request handling through GraphQL Java with support for customizing theExecutionInput
passed intoGraphQL
. -
Uses of GraphQlRequest in org.springframework.graphql.client
Modifier and TypeMethodDescriptionGraphQlClientException.getRequest()
Return the request for which the error occurred.Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<GraphQlResponse>
GraphQlTransport.execute
(GraphQlRequest request) Execute a request with a single response such as a "query" or "mutation".SyncGraphQlTransport.execute
(GraphQlRequest request) Execute a request with a single response such as a "query" or "mutation".reactor.core.publisher.Flux<GraphQlResponse>
GraphQlTransport.executeSubscription
(GraphQlRequest request) Execute a "subscription" request with a stream of responses.ModifierConstructorDescriptionGraphQlClientException
(String message, Throwable cause, GraphQlRequest request) Constructor with a message, optional cause, and the request details.GraphQlTransportException
(String message, Throwable cause, GraphQlRequest request) Constructor with a given message.GraphQlTransportException
(Throwable cause, GraphQlRequest request) Constructor with a default message.SubscriptionErrorException
(GraphQlRequest request, List<ResponseError> errors) Constructor with the request details and the errors listed in the payload of the"errors"
message.WebSocketDisconnectedException
(String closeStatusMessage, GraphQlRequest request, CloseStatus status) Constructor with an explanation about the closure, along with the request details and the status used to close the WebSocket session. -
Uses of GraphQlRequest in org.springframework.graphql.server
Modifier and TypeClassDescriptionclass
GraphQlRequest
implementation for server handling over RSocket.class
GraphQlRequest
implementation for server handling over HTTP or WebSocket.class
WebGraphQlRequest
extension for server handling of GraphQL over WebSocket requests.ModifierConstructorDescriptionWebGraphQlRequest
(URI uri, HttpHeaders headers, MultiValueMap<String, HttpCookie> cookies, InetSocketAddress remoteAddress, Map<String, Object> attributes, GraphQlRequest body, String id, Locale locale) Create an instance.WebGraphQlRequest
(URI uri, HttpHeaders headers, MultiValueMap<String, HttpCookie> cookies, Map<String, Object> attributes, GraphQlRequest body, String id, Locale locale) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of GraphQlRequest in org.springframework.graphql.server.support
Modifier and TypeMethodDescriptionstatic GraphQlWebSocketMessage
GraphQlWebSocketMessage.subscribe
(String id, GraphQlRequest request) Create a"subscribe"
client message. -
Uses of GraphQlRequest in org.springframework.graphql.support
Modifier and TypeClassDescriptionclass
GraphQlRequest
for server side handling, adding the transport (e.g.class
Default implementation ofGraphQlRequest
.
WebGraphQlRequest(URI, HttpHeaders, MultiValueMap, InetSocketAddress, Map, Map, String, Locale)