Class AvaticaHttpClientImpl
java.lang.Object
org.apache.calcite.avatica.remote.AvaticaHttpClientImpl
- All Implemented Interfaces:
AvaticaHttpClient
A common class to invoke HTTP requests against the Avatica server agnostic of the data being
sent and received across the wire.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]send(byte[] request) Sends a serialized request to the Avatica server.
-
Field Details
-
url
-
-
Constructor Details
-
AvaticaHttpClientImpl
-
-
Method Details
-
send
public byte[] send(byte[] request) Description copied from interface:AvaticaHttpClientSends a serialized request to the Avatica server.- Specified by:
sendin interfaceAvaticaHttpClient- Parameters:
request- The serialized request.- Returns:
- The serialized response.
-