Uses of Interface
org.springframework.graphql.server.WebGraphQlHandler.Builder
Packages that use WebGraphQlHandler.Builder
Package
Description
Server transports handling GraphQL requests over the HTTP, WebSocket, and RSocket.
-
Uses of WebGraphQlHandler.Builder in org.springframework.graphql.server
Methods in org.springframework.graphql.server that return WebGraphQlHandler.BuilderModifier and TypeMethodDescriptionstatic WebGraphQlHandler.BuilderWebGraphQlHandler.builder(ExecutionGraphQlService graphQlService) Provides access to a builder to create aWebGraphQlHandlerinstance.WebGraphQlHandler.Builder.contextSnapshotFactory(io.micrometer.context.ContextSnapshotFactory snapshotFactory) Configure theContextSnapshotFactoryinstance 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.