Interface HttpGraphQlClient.Builder<B extends HttpGraphQlClient.Builder<B>>
- Type Parameters:
- B- the builder type
- All Superinterfaces:
- GraphQlClient.BaseBuilder<B>,- GraphQlClient.Builder<B>,- WebGraphQlClient.Builder<B>
- Enclosing interface:
- HttpGraphQlClient
public static interface HttpGraphQlClient.Builder<B extends HttpGraphQlClient.Builder<B>>
extends WebGraphQlClient.Builder<B>
Builder for the GraphQL over HTTP client.
- Since:
- 1.0.0
- Author:
- Rossen Stoyanchev
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Build theHttpGraphQlClientinstance.webClient(Consumer<WebClient.Builder> webClient) Customize theWebClientto use.Methods inherited from interface org.springframework.graphql.client.GraphQlClient.BaseBuilderblockingTimeout, documentSourceMethods inherited from interface org.springframework.graphql.client.GraphQlClient.Builderinterceptor, interceptorsMethods inherited from interface org.springframework.graphql.client.WebGraphQlClient.BuildercodecConfigurer, header, headers, url, url
- 
Method Details- 
webClientCustomize theWebClientto use.Note that some properties of WebClient.Builderlike the base URL, headers, and codecs can be customized through this builder.- Parameters:
- webClient- the function for customizing the- WebClient.Builderthat's used to build the HTTP client
- See Also:
 
- 
buildHttpGraphQlClient build()Build theHttpGraphQlClientinstance.- Specified by:
- buildin interface- GraphQlClient.BaseBuilder<B extends HttpGraphQlClient.Builder<B>>
- Specified by:
- buildin interface- WebGraphQlClient.Builder<B extends HttpGraphQlClient.Builder<B>>
 
 
-