Package | Description |
---|---|
org.springframework.graphql |
Top level abstractions for processing GraphQL requests.
|
org.springframework.graphql.execution |
Support for GraphQL request execution, including abstractions to configure and invoke
GraphQL . |
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 | Method and Description |
---|---|
reactor.core.publisher.Mono<ExecutionGraphQlResponse> |
ExecutionGraphQlService.execute(ExecutionGraphQlRequest request)
Execute the request and return the response.
|
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<ExecutionGraphQlResponse> |
DefaultExecutionGraphQlService.execute(ExecutionGraphQlRequest request) |
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. |
Constructor and Description |
---|
RSocketGraphQlResponse(ExecutionGraphQlResponse response)
Create an instance that wraps the given
ExecutionGraphQlResponse . |
WebGraphQlResponse(ExecutionGraphQlResponse response)
Create an instance that wraps the given
ExecutionGraphQlResponse . |
Modifier and Type | Class and Description |
---|---|
static class |
DefaultExecutionGraphQlResponse.Builder<B extends DefaultExecutionGraphQlResponse.Builder<B,R>,R extends ExecutionGraphQlResponse>
Builder to transform the response's
ExecutionResult . |
Modifier and Type | Class and Description |
---|---|
class |
DefaultExecutionGraphQlResponse
GraphQlResponse for server use that wraps the ExecutionResult
returned from GraphQL and also exposes the actual
ExecutionInput instance passed into it. |
Constructor and Description |
---|
DefaultExecutionGraphQlResponse(ExecutionGraphQlResponse response)
Constructor to re-wrap from transport specific subclass.
|