Interface GraphQlClient.BaseBuilder<B extends GraphQlClient.BaseBuilder<B>>
- Type Parameters:
- B- the type of builder
- All Known Subinterfaces:
- GraphQlClient.Builder<B>,- GraphQlClient.SyncBuilder<B>,- HttpGraphQlClient.Builder<B>,- HttpSyncGraphQlClient.Builder<B>,- RSocketGraphQlClient.Builder<B>,- WebGraphQlClient.Builder<B>,- WebSocketGraphQlClient.Builder<B>
- All Known Implementing Classes:
- AbstractGraphQlClientBuilder,- AbstractGraphQlClientSyncBuilder
- Enclosing interface:
- GraphQlClient
public static interface GraphQlClient.BaseBuilder<B extends GraphQlClient.BaseBuilder<B>>
Base builder for creating and initializing a 
GraphQlClient.- 
Method SummaryModifier and TypeMethodDescriptionblockingTimeout(Duration blockingTimeout) Configure a timeout to use for blocking execution.build()Build theGraphQlClientinstance.documentSource(DocumentSource contentLoader) Configure aDocumentSourcestrategy to resolve a document by name.
- 
Method Details- 
documentSourceConfigure aDocumentSourcestrategy to resolve a document by name. For use withinGraphQlClient.documentName(String).By default, this is set to ResourceDocumentSourcewith classpath location"graphql-documents/"andResourceDocumentSource.FILE_EXTENSIONSas extensions.- Parameters:
- contentLoader- the strategy for resolving documents by their names
 
- 
blockingTimeoutConfigure a timeout to use for blocking execution.By default this is not set, in which case the behavior depends on connection and request timeout settings of the underlying transport. We recommend configuring timeout values directly if possible on the underlying transport library such an HTTP client library as that can provide more control over such settings. - Parameters:
- blockingTimeout- the timeout to use
 
- 
buildGraphQlClient build()Build theGraphQlClientinstance.
 
-