public class GraphQlHttpHandler
extends java.lang.Object
| Constructor and Description |
|---|
GraphQlHttpHandler(WebGraphQlHandler graphQlHandler)
Create a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<org.springframework.web.reactive.function.server.ServerResponse> |
handleRequest(org.springframework.web.reactive.function.server.ServerRequest request)
Handle GraphQL requests over HTTP.
|
public GraphQlHttpHandler(WebGraphQlHandler graphQlHandler)
graphQlHandler - common handler for GraphQL over HTTP requestspublic reactor.core.publisher.Mono<org.springframework.web.reactive.function.server.ServerResponse> handleRequest(org.springframework.web.reactive.function.server.ServerRequest request)
request - the incoming HTTP request