Package com.arangodb.http
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 Summary
Constructors Constructor Description HttpProtocol(HttpCommunication httpCommunication)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()CompletableFuture<com.arangodb.internal.InternalResponse>executeAsync(com.arangodb.internal.InternalRequest request, com.arangodb.internal.net.HostHandle hostHandle)voidsetJwt(String jwt)
-
-
-
Constructor Detail
-
HttpProtocol
public HttpProtocol(HttpCommunication httpCommunication)
-
-
Method Detail
-
executeAsync
public CompletableFuture<com.arangodb.internal.InternalResponse> executeAsync(com.arangodb.internal.InternalRequest request, com.arangodb.internal.net.HostHandle hostHandle)
- Specified by:
executeAsyncin interfacecom.arangodb.internal.net.CommunicationProtocol
-
setJwt
public void setJwt(String jwt)
- Specified by:
setJwtin interfacecom.arangodb.internal.net.CommunicationProtocol
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
-