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