Class GrpcTransportClient

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public class GrpcTransportClient
    extends InternalTransportClient
    • Constructor Detail

      • GrpcTransportClient

        public GrpcTransportClient​(GrpcClientConfig grpcClientConfig)
    • Method Detail

      • get

        public java.util.concurrent.CompletableFuture<TransportClientResponse> get​(java.lang.String requestPath,
                                                                                   java.util.Map<java.lang.String,​java.lang.String> headers)
        Specified by:
        get in class TransportClient
      • post

        public java.util.concurrent.CompletableFuture<TransportClientResponse> post​(java.lang.String requestPath,
                                                                                    java.util.Map<java.lang.String,​java.lang.String> headers,
                                                                                    byte[] requestBody)
        Specified by:
        post in class TransportClient
      • close

        public void close()
                   throws java.io.IOException
        Throws:
        java.io.IOException