Class GraphQlHttpHandler
java.lang.Object
org.springframework.graphql.server.webflux.GraphQlHttpHandler
WebFlux.fn Handler for GraphQL over HTTP requests.
- Since:
- 1.0.0
- Author:
- Rossen Stoyanchev, Brian Clozel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<ServerResponse>
handleRequest
(ServerRequest serverRequest) Handle GraphQL requests over HTTP.
-
Constructor Details
-
GraphQlHttpHandler
Create a new instance.- Parameters:
graphQlHandler
- common handler for GraphQL over HTTP requests
-
-
Method Details
-
handleRequest
Handle GraphQL requests over HTTP.- Parameters:
serverRequest
- the incoming HTTP request- Returns:
- the HTTP response
-