Interface GrpcClientBuilder<C>
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Build and return the client.with(HttpClientConfig transportConfig) Configure the client HTTP transport options.with(HttpClientOptions transportOptions) Configure the client HTTP transport options.with(ClientSSLOptions sslOptions) Configure the client HTTP transport options.with(GrpcClientOptions options) Configure the client options.withAddressResolver(AddressResolver resolver) Configure the client to use a specific address resolver.withLoadBalancer(LoadBalancer loadBalancer) Configure the client to use a load balancer.
-
Method Details
-
with
Configure the client options.- Parameters:
options- the client options- Returns:
- a reference to this, so the API can be used fluently
-
with
Configure the client HTTP transport options.- Parameters:
transportOptions- the client transport options- Returns:
- a reference to this, so the API can be used fluently
-
with
Configure the client HTTP transport options.- Parameters:
transportConfig- the client transport options- Returns:
- a reference to this, so the API can be used fluently
-
with
Configure the client HTTP transport options.- Parameters:
sslOptions- the client transport options- Returns:
- a reference to this, so the API can be used fluently
-
withAddressResolver
Configure the client to use a specific address resolver.- Parameters:
resolver- the address resolver
-
withLoadBalancer
Configure the client to use a load balancer.- Parameters:
loadBalancer- the load balancer
-
build
-