Package | Description |
---|---|
org.springframework.graphql.test.tester |
GraphQL client testing support.
|
org.springframework.graphql.web |
Support for executing GraphQL requests over the Web, including handlers for HTTP and
WebSocket.
|
org.springframework.graphql.web.webflux |
HTTP and WebSocket handlers for use in a Spring WebFlux application.
|
org.springframework.graphql.web.webmvc |
HTTP and WebSocket handlers for use in a Spring WebMvc application.
|
Modifier and Type | Method and Description |
---|---|
static WebGraphQlTester.Builder |
WebGraphQlTester.builder(WebGraphQlHandler handler)
Return a builder with options to initialize a
WebGraphQlHandler . |
static WebGraphQlTester |
WebGraphQlTester.create(WebGraphQlHandler handler)
Create a
WebGraphQlTester that performs GraphQL requests through
the given WebGraphQlHandler . |
Modifier and Type | Method and Description |
---|---|
WebGraphQlHandler |
WebGraphQlHandler.Builder.build()
Build the
WebGraphQlHandler instance. |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<WebOutput> |
WebInterceptor.intercept(WebInput webInput,
WebGraphQlHandler next)
Intercept a request and delegate for further handling and request execution via
handle(WebInput) . |
Constructor and Description |
---|
GraphQlHttpHandler(WebGraphQlHandler graphQlHandler)
Create a new instance.
|
GraphQlWebSocketHandler(WebGraphQlHandler graphQlHandler,
ServerCodecConfigurer configurer,
Duration connectionInitTimeout)
Create a new instance.
|
Constructor and Description |
---|
GraphQlHttpHandler(WebGraphQlHandler graphQlHandler)
Create a new instance.
|
GraphQlWebSocketHandler(WebGraphQlHandler graphQlHandler,
HttpMessageConverter<?> converter,
Duration connectionInitTimeout)
Create a new instance.
|