Uses of Class
org.springframework.graphql.server.WebGraphQlResponse
Package
Description
Server transports handling GraphQL requests over the HTTP, WebSocket, and RSocket.
Support classes for Web transports.
HTTP and WebSocket handlers for use in a Spring WebFlux application.
HTTP and WebSocket handlers for use in a Spring WebMvc application.
-
Uses of WebGraphQlResponse in org.springframework.graphql.server
Modifier and TypeMethodDescriptionprotected WebGraphQlResponse
WebGraphQlResponse.Builder.build
(WebGraphQlResponse original, ExecutionResult newResult) WebGraphQlResponse.transform
(Consumer<WebGraphQlResponse.Builder> consumer) Transform the underlyingExecutionResult
through aWebGraphQlResponse.Builder
and return a new instance with the modified values.Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<WebGraphQlResponse>
WebGraphQlHandler.handleRequest
(WebGraphQlRequest request) Execute the given request and return the response.reactor.core.publisher.Mono<WebGraphQlResponse>
WebGraphQlInterceptor.intercept
(WebGraphQlRequest request, WebGraphQlInterceptor.Chain chain) Intercept a request and delegate to the rest of the chain including other interceptors and aExecutionGraphQlService
.default reactor.core.publisher.Mono<WebGraphQlResponse>
WebSocketGraphQlInterceptor.intercept
(WebGraphQlRequest request, WebGraphQlInterceptor.Chain chain) reactor.core.publisher.Mono<WebGraphQlResponse>
WebGraphQlInterceptor.Chain.next
(WebGraphQlRequest request) Delegate to the rest of the chain to execute the request.Modifier and TypeMethodDescriptionprotected WebGraphQlResponse
WebGraphQlResponse.Builder.build
(WebGraphQlResponse original, ExecutionResult newResult) -
Uses of WebGraphQlResponse in org.springframework.graphql.server.support
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<WebGraphQlResponse>
AbstractAuthenticationWebSocketInterceptor.intercept
(WebGraphQlRequest request, WebGraphQlInterceptor.Chain chain) -
Uses of WebGraphQlResponse in org.springframework.graphql.server.webflux
Modifier and TypeMethodDescriptionprotected Object
AbstractGraphQlHttpHandler.encodeResponseIfNecessary
(WebGraphQlResponse response) Encode the GraphQL response if custom codecs were provided, or return the result map.protected abstract reactor.core.publisher.Mono<ServerResponse>
AbstractGraphQlHttpHandler.prepareResponse
(ServerRequest request, WebGraphQlResponse response) Prepare theServerResponse
for the given GraphQL response.protected reactor.core.publisher.Mono<ServerResponse>
GraphQlHttpHandler.prepareResponse
(ServerRequest request, WebGraphQlResponse response) protected reactor.core.publisher.Mono<ServerResponse>
GraphQlSseHandler.prepareResponse
(ServerRequest request, WebGraphQlResponse response) -
Uses of WebGraphQlResponse in org.springframework.graphql.server.webmvc
Modifier and TypeMethodDescriptionprotected abstract ServerResponse
AbstractGraphQlHttpHandler.prepareResponse
(ServerRequest request, reactor.core.publisher.Mono<WebGraphQlResponse> responseMono) Prepare theServerResponse
for the given GraphQL response.protected ServerResponse
GraphQlHttpHandler.prepareResponse
(ServerRequest request, reactor.core.publisher.Mono<WebGraphQlResponse> responseMono) protected ServerResponse
GraphQlSseHandler.prepareResponse
(ServerRequest request, reactor.core.publisher.Mono<WebGraphQlResponse> responseMono)