Class DoAsAvaticaHttpClient

java.lang.Object
org.apache.calcite.avatica.remote.DoAsAvaticaHttpClient
All Implemented Interfaces:
AvaticaHttpClient

public class DoAsAvaticaHttpClient extends Object implements AvaticaHttpClient
HTTP client implementation which invokes the wrapped HTTP client in a doAs with the provided Subject.
  • Constructor Details

  • Method Details

    • send

      public byte[] send(byte[] request)
      Description copied from interface: AvaticaHttpClient
      Sends a serialized request to the Avatica server.
      Specified by:
      send in interface AvaticaHttpClient
      Parameters:
      request - The serialized request.
      Returns:
      The serialized response.