Class GrpcClientBuilder<U,​R>

  • Type Parameters:
    U - the type of address before resolution (unresolved address)
    R - the type of address after resolution (resolved address)

    public abstract class GrpcClientBuilder<U,​R>
    extends java.lang.Object
    A builder for building a gRPC client.
    • Field Detail

      • GRPC_DEADLINE_KEY

        @Deprecated
        protected static final AsyncContextMap.Key<java.lang.Long> GRPC_DEADLINE_KEY
        Deprecated.
        Do not use. This is internal implementation details that users should not depend on.
        gRPC timeout is stored in context as a deadline so that when propagated to a new request the remaining time to be included in the request can be calculated.
    • Constructor Detail

      • GrpcClientBuilder

        public GrpcClientBuilder()