Class MetadataUtils.HeaderAttachingClientInterceptor.HeaderAttachingClientCall<ReqT,RespT>

java.lang.Object
io.grpc.ClientCall<ReqT,RespT>
io.grpc.PartialForwardingClientCall<ReqT,RespT>
io.grpc.ForwardingClientCall<ReqT,RespT>
io.grpc.ForwardingClientCall.SimpleForwardingClientCall<ReqT,RespT>
io.grpc.stub.MetadataUtils.HeaderAttachingClientInterceptor.HeaderAttachingClientCall<ReqT,RespT>
Enclosing class:
MetadataUtils.HeaderAttachingClientInterceptor

private final class MetadataUtils.HeaderAttachingClientInterceptor.HeaderAttachingClientCall<ReqT,RespT> extends ForwardingClientCall.SimpleForwardingClientCall<ReqT,RespT>
  • Constructor Details

  • Method Details

    • start

      public void start(ClientCall.Listener<RespT> responseListener, Metadata headers)
      Description copied from class: ClientCall
      Start a call, using responseListener for processing response messages.

      It must be called prior to any other method on this class, except for ClientCall.cancel(String, Throwable) which may be called at any time.

      Since Metadata is not thread-safe, the caller must not access (read or write) headers after this point.

      Overrides:
      start in class ForwardingClientCall<ReqT,RespT>
      Parameters:
      responseListener - receives response messages
      headers - which can contain extra call metadata, e.g. authentication credentials.