Class GrpcTransportClient
java.lang.Object
com.linkedin.venice.client.store.transport.TransportClient
com.linkedin.venice.fastclient.transport.InternalTransportClient
com.linkedin.venice.fastclient.transport.GrpcTransportClient
- All Implemented Interfaces:
Closeable
,AutoCloseable
-
Field Summary
Fields inherited from class com.linkedin.venice.client.store.transport.TransportClient
HTTPS
-
Constructor Summary
-
Method Summary
Methods inherited from class com.linkedin.venice.fastclient.transport.InternalTransportClient
streamPost
Methods inherited from class com.linkedin.venice.client.store.transport.TransportClient
get, getCopyIfNotUsableInCallback, post
-
Constructor Details
-
GrpcTransportClient
-
-
Method Details
-
get
public CompletableFuture<TransportClientResponse> get(String requestPath, Map<String, String> headers) - Specified by:
get
in classTransportClient
-
post
public CompletableFuture<TransportClientResponse> post(String requestPath, Map<String, String> headers, byte[] requestBody) - Specified by:
post
in classTransportClient
-
close
- Throws:
IOException
-