public static interface HttpGraphQlClient.Builder<B extends HttpGraphQlClient.Builder<B>> extends WebGraphQlClient.Builder<B>
Modifier and Type | Method and Description |
---|---|
HttpGraphQlClient |
build()
Build the
HttpGraphQlClient instance. |
B |
webClient(Consumer<WebClient.Builder> webClient)
Customize the
WebClient to use. |
codecConfigurer, header, headers, url, url
documentSource, interceptor, interceptors
B webClient(Consumer<WebClient.Builder> webClient)
WebClient
to use.
Note that some properties of WebClient.Builder
like the
base URL, headers, and codecs can be customized through this builder.
HttpGraphQlClient build()
HttpGraphQlClient
instance.build
in interface GraphQlClient.Builder<B extends HttpGraphQlClient.Builder<B>>
build
in interface WebGraphQlClient.Builder<B extends HttpGraphQlClient.Builder<B>>