public interface HybridThriftOverHttpService<ThriftRequest extends org.apache.thrift.TBase<?,?>,ThriftResponse extends org.apache.thrift.TBase<?,?>> extends ThriftOverHttpService<ThriftRequest,ThriftResponse>
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFuture<ThriftResponse> |
makeRequest(HybridThriftRequestHandler<ThriftRequest> request,
HybridThriftResponseHandler<ThriftResponse> responseHandler)
Asynchronously make a request.
|
ThriftResponse |
makeRequestSync(HybridThriftRequestHandler<ThriftRequest> request,
HybridThriftResponseHandler<ThriftResponse> responseHandler)
Synchronously make a request.
|
makeRequest
com.google.common.util.concurrent.ListenableFuture<ThriftResponse> makeRequest(HybridThriftRequestHandler<ThriftRequest> request, HybridThriftResponseHandler<ThriftResponse> responseHandler)
ThriftResponse makeRequestSync(HybridThriftRequestHandler<ThriftRequest> request, HybridThriftResponseHandler<ThriftResponse> responseHandler) throws IOException
IOException