Package | Description |
---|---|
org.springframework.graphql.test.tester |
GraphQL client testing support.
|
Modifier and Type | Method and Description |
---|---|
static WebGraphQlTester.Builder |
WebGraphQlTester.builder(WebGraphQlHandler handler)
Return a builder with options to initialize a
WebGraphQlHandler . |
static WebGraphQlTester.Builder |
WebGraphQlTester.builder(WebTestClient client)
Return a builder with options to initialize a
WebGraphQlTester . |
WebGraphQlTester.Builder |
WebGraphQlTester.Builder.defaultHeader(String headerName,
String... headerValues)
Add the given header to all requests that haven't added it.
|
WebGraphQlTester.Builder |
WebGraphQlTester.Builder.defaultHeaders(Consumer<HttpHeaders> headersConsumer)
Variant of
defaultHeader(String, String...) that provides
access to the underlying headers to inspect or modify directly. |