Package | Description |
---|---|
org.springframework.graphql.server |
Server transports handling GraphQL requests over the HTTP, WebSocket, and RSocket.
|
Modifier and Type | Interface and Description |
---|---|
interface |
WebSocketGraphQlInterceptor
An extension of
WebGraphQlInterceptor with additional methods
to handle the start and end of a WebSocket connection. |
Modifier and Type | Method and Description |
---|---|
default WebGraphQlInterceptor |
WebGraphQlInterceptor.andThen(WebGraphQlInterceptor nextInterceptor)
Return a new
WebGraphQlInterceptor that invokes the current
interceptor first and then the one that is passed in. |
Modifier and Type | Method and Description |
---|---|
default WebGraphQlInterceptor |
WebGraphQlInterceptor.andThen(WebGraphQlInterceptor nextInterceptor)
Return a new
WebGraphQlInterceptor that invokes the current
interceptor first and then the one that is passed in. |
WebGraphQlHandler.Builder |
WebGraphQlHandler.Builder.interceptor(WebGraphQlInterceptor... interceptors)
Configure interceptors to be invoked before the target
GraphQlService . |
Modifier and Type | Method and Description |
---|---|
WebGraphQlHandler.Builder |
WebGraphQlHandler.Builder.interceptors(List<WebGraphQlInterceptor> interceptors)
Alternative to
WebGraphQlHandler.Builder.interceptor(WebGraphQlInterceptor...)
with a List. |