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 void
close()
CompletableFuture<com.arangodb.internal.InternalResponse>
executeAsync(com.arangodb.internal.InternalRequest request, com.arangodb.internal.net.HostHandle hostHandle)
void
setJwt(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:
executeAsync
in interfacecom.arangodb.internal.net.CommunicationProtocol
-
setJwt
public void setJwt(String jwt)
- Specified by:
setJwt
in interfacecom.arangodb.internal.net.CommunicationProtocol
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
-