Package | Description |
---|---|
org.springframework.graphql |
Top level abstractions for processing GraphQL requests.
|
org.springframework.graphql.client |
This package contains a
GraphQlClient
along with HTTP and WebSocket extensions. |
org.springframework.graphql.server |
Server transports handling GraphQL requests over the HTTP, WebSocket, and RSocket.
|
org.springframework.graphql.support |
Support classes for Spring GraphQL.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ExecutionGraphQlResponse
Implementation of
GraphQlResponse that wraps the ExecutionResult
returned from GraphQL to expose it as GraphQlResponse ,
also providing access to the ExecutionInput used for the request. |
Modifier and Type | Interface and Description |
---|---|
interface |
ClientGraphQlResponse
GraphQlResponse for client use, with further options to handle the
response. |
Modifier and Type | Method and Description |
---|---|
static GraphQlResponse |
GraphQlTransport.createResponse(Map<String,Object> responseMap)
Factory method to create
GraphQlResponse from a GraphQL response
map for use in transport implementations. |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<GraphQlResponse> |
GraphQlTransport.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.
|
Modifier and Type | Class and Description |
---|---|
class |
RSocketGraphQlResponse
GraphQlResponse implementation for server
handling over RSocket. |
class |
WebGraphQlResponse
GraphQlResponse implementation for server
handling over HTTP or over WebSocket. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractGraphQlResponse
Base class for
GraphQlResponse that pre-implements the ability to
access a ResponseField . |
class |
DefaultExecutionGraphQlResponse
GraphQlResponse for server use that wraps the ExecutionResult
returned from GraphQL and also exposes the actual
ExecutionInput instance passed into it. |