Class DoAsAvaticaHttpClient
java.lang.Object
org.apache.calcite.avatica.remote.DoAsAvaticaHttpClient
- All Implemented Interfaces:
AvaticaHttpClient
HTTP client implementation which invokes the wrapped HTTP client in a doAs with the provided
Subject.
-
Constructor Summary
ConstructorsConstructorDescriptionDoAsAvaticaHttpClient(AvaticaHttpClient wrapped, KerberosConnection kerberosUtil) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]send(byte[] request) Sends a serialized request to the Avatica server.
-
Constructor Details
-
DoAsAvaticaHttpClient
-
-
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.
-