@FunctionalInterface
public static interface GrpcProviders.GrpcClientBuilderProvider
GrpcClientBuilder.
An HTTP layer should use HttpProviders.SingleAddressHttpClientBuilderProvider.
| Modifier and Type | Method and Description |
|---|---|
<U,R> GrpcClientBuilder<U,R> |
newBuilder(U address,
GrpcClientBuilder<U,R> builder)
Returns a
GrpcClientBuilder based on the address and pre-initialized GrpcClientBuilder. |
<U,R> GrpcClientBuilder<U,R> newBuilder(U address, GrpcClientBuilder<U,R> builder)
GrpcClientBuilder based on the address and pre-initialized GrpcClientBuilder.
This method may return the pre-initialized builder as-is, or apply custom builder settings before
returning it, or wrap it (DelegatingGrpcClientBuilder may be helpful).
U - the type of address before resolution (unresolved address)R - the type of address after resolution (resolved address)address - a remote address used to create a GrpcClientBuilder, it can be resolved or unresolved
based on the factory usedbuilder - pre-initialized GrpcClientBuilderGrpcClientBuilder based on the address and pre-initialized GrpcClientBuilder.DelegatingGrpcClientBuilder