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
Constructors -
Method Summary
Methods inherited from class com.linkedin.venice.fastclient.transport.InternalTransportClient
streamPostMethods 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:
getin classTransportClient
-
post
public CompletableFuture<TransportClientResponse> post(String requestPath, Map<String, String> headers, byte[] requestBody) - Specified by:
postin classTransportClient
-
close
- Throws:
IOException
-