public static interface WebGraphQlTester.Builder extends GraphQlTester.Builder<WebGraphQlTester.Builder>
WebGraphQlTester
instance.Modifier and Type | Method and Description |
---|---|
WebGraphQlTester |
build()
Build the
WebGraphQlTester . |
WebGraphQlTester.Builder |
defaultHeader(String headerName,
String... headerValues)
Add the given header to all requests that haven't added it.
|
WebGraphQlTester.Builder |
defaultHeaders(Consumer<HttpHeaders> headersConsumer)
Variant of
defaultHeader(String, String...) that provides
access to the underlying headers to inspect or modify directly. |
errorFilter, jsonPathConfig, responseTimeout
WebGraphQlTester.Builder defaultHeader(String headerName, String... headerValues)
headerName
- the header nameheaderValues
- the header valuesWebGraphQlTester.Builder defaultHeaders(Consumer<HttpHeaders> headersConsumer)
defaultHeader(String, String...)
that provides
access to the underlying headers to inspect or modify directly.headersConsumer
- a function that consumes the HttpHeaders
WebGraphQlTester build()
WebGraphQlTester
.build
in interface GraphQlTester.Builder<WebGraphQlTester.Builder>