Package com.arangodb.http
Class HttpProtocol
java.lang.Object
com.arangodb.http.HttpProtocol
- All Implemented Interfaces:
com.arangodb.internal.net.CommunicationProtocol
,Closeable
,AutoCloseable
- Author:
- Mark Vollmary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
CompletableFuture<com.arangodb.internal.InternalResponse>
executeAsync
(com.arangodb.internal.InternalRequest request, com.arangodb.internal.net.HostHandle hostHandle) void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.arangodb.internal.net.CommunicationProtocol
execute
-
Constructor Details
-
HttpProtocol
-
-
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 interfacecom.arangodb.internal.net.CommunicationProtocol
-
setJwt
- Specified by:
setJwt
in interfacecom.arangodb.internal.net.CommunicationProtocol
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-