Uses of Interface
org.springframework.graphql.server.WebGraphQlHandler.Builder
Package
Description
Server transports handling GraphQL requests over the HTTP, WebSocket, and RSocket.
-
Uses of WebGraphQlHandler.Builder in org.springframework.graphql.server
Modifier and TypeMethodDescriptionstatic WebGraphQlHandler.Builder
WebGraphQlHandler.builder
(ExecutionGraphQlService graphQlService) Provides access to a builder to create aWebGraphQlHandler
instance.WebGraphQlHandler.Builder.contextSnapshotFactory
(io.micrometer.context.ContextSnapshotFactory snapshotFactory) Configure theContextSnapshotFactory
instance to use for context propagation ofThreadLocal
, and Reactor context values from the transport layer to the GraphQL execution layer.WebGraphQlHandler.Builder.interceptor
(WebGraphQlInterceptor... interceptors) Configure interceptors to be invoked before the targetGraphQlService
.WebGraphQlHandler.Builder.interceptors
(List<WebGraphQlInterceptor> interceptors) Alternative tointerceptor(WebGraphQlInterceptor...)
with a List.