Class HttpProtocol

java.lang.Object
com.arangodb.http.HttpProtocol
All Implemented Interfaces:
com.arangodb.internal.net.CommunicationProtocol, Closeable, AutoCloseable

public class HttpProtocol extends Object implements com.arangodb.internal.net.CommunicationProtocol
Author:
Mark Vollmary
  • Constructor Details

  • Method Details

    • executeAsync

      public CompletableFuture<com.arangodb.internal.InternalResponse> executeAsync(com.arangodb.internal.InternalRequest request, com.arangodb.internal.net.HostHandle hostHandle)
      Specified by:
      executeAsync in interface com.arangodb.internal.net.CommunicationProtocol
    • setJwt

      public void setJwt(String jwt)
      Specified by:
      setJwt in interface com.arangodb.internal.net.CommunicationProtocol
    • close

      public void close() throws IOException
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Throws:
      IOException