Uses of Interface
org.springframework.graphql.server.WebGraphQlHandler
Package
Description
Server transports handling GraphQL requests over the HTTP, WebSocket, and RSocket.
HTTP and WebSocket handlers for use in a Spring WebFlux application.
HTTP and WebSocket handlers for use in a Spring WebMvc application.
GraphQL client testing support.
-
Uses of WebGraphQlHandler in org.springframework.graphql.server
Modifier and TypeMethodDescriptionWebGraphQlHandler.Builder.build()
Build theWebGraphQlHandler
instance. -
Uses of WebGraphQlHandler in org.springframework.graphql.server.webflux
ModifierConstructorDescriptionprotected
AbstractGraphQlHttpHandler
(WebGraphQlHandler graphQlHandler, CodecConfigurer codecConfigurer) GraphQlHttpHandler
(WebGraphQlHandler graphQlHandler) Create a new instance.GraphQlHttpHandler
(WebGraphQlHandler graphQlHandler, CodecConfigurer codecConfigurer) Create a new instance.GraphQlSseHandler
(WebGraphQlHandler graphQlHandler) Constructor with the handler to delegate to, and no timeout by default, which results in never timing out.GraphQlSseHandler
(WebGraphQlHandler graphQlHandler, Duration timeout) Variant constructor with a timeout to use for SSE subscriptions.GraphQlWebSocketHandler
(WebGraphQlHandler graphQlHandler, CodecConfigurer codecConfigurer, Duration connectionInitTimeout) Create a new instance.GraphQlWebSocketHandler
(WebGraphQlHandler graphQlHandler, CodecConfigurer codecConfigurer, Duration connectionInitTimeout, Duration keepAliveDuration) Create a new instance. -
Uses of WebGraphQlHandler in org.springframework.graphql.server.webmvc
ModifierConstructorDescriptionprotected
AbstractGraphQlHttpHandler
(WebGraphQlHandler graphQlHandler, HttpMessageConverter<?> messageConverter) GraphQlHttpHandler
(WebGraphQlHandler graphQlHandler) Create a new instance.GraphQlHttpHandler
(WebGraphQlHandler graphQlHandler, HttpMessageConverter<?> converter) Create a new instance with a custom message converter for GraphQL payloads.GraphQlSseHandler
(WebGraphQlHandler graphQlHandler) Constructor with the handler to delegate to, and no timeout, i.e.GraphQlSseHandler
(WebGraphQlHandler graphQlHandler, Duration timeout) Variant constructor with a timeout to use for SSE subscriptions.GraphQlWebSocketHandler
(WebGraphQlHandler graphQlHandler, HttpMessageConverter<?> converter, Duration connectionInitTimeout) Create a new instance.GraphQlWebSocketHandler
(WebGraphQlHandler graphQlHandler, HttpMessageConverter<?> converter, Duration connectionInitTimeout, Duration keepAliveDuration) Create a new instance. -
Uses of WebGraphQlHandler in org.springframework.graphql.test.tester
Modifier and TypeMethodDescriptionstatic WebGraphQlTester.Builder<?>
WebGraphQlTester.builder
(WebGraphQlHandler graphQlHandler) Return a builder for aWebGraphQlTester
.static WebGraphQlTester
WebGraphQlTester.create
(WebGraphQlHandler graphQlHandler) Create aWebGraphQlTester
instance.