public interface WebGraphQlHandler
| Modifier and Type | Interface and Description |
|---|---|
static interface |
WebGraphQlHandler.Builder
Builder for a
WebGraphQlHandler that executes a
WebGraphQlInterceptor chain followed by a
ExecutionGraphQlService. |
| Modifier and Type | Method and Description |
|---|---|
static WebGraphQlHandler.Builder |
builder(ExecutionGraphQlService graphQlService)
Provides access to a builder to create a
WebGraphQlHandler instance. |
ThreadLocalAccessor |
getThreadLocalAccessor()
Return the composite
ThreadLocalAccessor that the handler is
configured with. |
WebSocketGraphQlInterceptor |
getWebSocketInterceptor()
Return the single interceptor of type
WebSocketGraphQlInterceptor among all the configured
interceptors. |
reactor.core.publisher.Mono<WebGraphQlResponse> |
handleRequest(WebGraphQlRequest request)
Execute the given request and return the response.
|
WebSocketGraphQlInterceptor getWebSocketInterceptor()
WebSocketGraphQlInterceptor among all the configured
interceptors.@Nullable ThreadLocalAccessor getThreadLocalAccessor()
ThreadLocalAccessor that the handler is
configured with.reactor.core.publisher.Mono<WebGraphQlResponse> handleRequest(WebGraphQlRequest request)
request - the request to executestatic WebGraphQlHandler.Builder builder(ExecutionGraphQlService graphQlService)
WebGraphQlHandler instance.graphQlService - the ExecutionGraphQlService to use for actual execution of the
request.