Package | Description |
---|---|
org.springframework.graphql.web |
Support for executing GraphQL requests over the Web, including handlers for HTTP and
WebSocket.
|
Modifier and Type | Method and Description |
---|---|
static WebGraphQlHandler.Builder |
WebGraphQlHandler.builder(GraphQlService graphQlService)
Provides access to a builder to create a
WebGraphQlHandler instance. |
WebGraphQlHandler.Builder |
WebGraphQlHandler.Builder.interceptor(WebInterceptor... interceptors)
Configure interceptors to be invoked before the target
GraphQlService . |
WebGraphQlHandler.Builder |
WebGraphQlHandler.Builder.interceptors(List<WebInterceptor> interceptors)
Alternative to
interceptor(WebInterceptor...) with a List. |
WebGraphQlHandler.Builder |
WebGraphQlHandler.Builder.threadLocalAccessor(ThreadLocalAccessor... accessors)
Configure accessors for ThreadLocal variables to use to extract
ThreadLocal values at the start of GraphQL execution in the web layer,
and have those saved, and restored around the invocation of data
fetchers and exception resolvers.
|
WebGraphQlHandler.Builder |
WebGraphQlHandler.Builder.threadLocalAccessors(List<ThreadLocalAccessor> accessors)
Alternative to
threadLocalAccessor(ThreadLocalAccessor...) with a
List. |