public class HttpConnection extends Object implements Connection
| Modifier and Type | Class and Description |
|---|---|
static class |
HttpConnection.Builder |
| Modifier and Type | Method and Description |
|---|---|
Response |
buildResponse(org.apache.http.client.methods.CloseableHttpResponse httpResponse) |
protected void |
checkError(Response response) |
void |
close() |
Response |
execute(Request request) |
void |
setJwt(String jwt) |
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic Response execute(Request request) throws ArangoDBException, IOException
ArangoDBExceptionIOExceptionpublic Response buildResponse(org.apache.http.client.methods.CloseableHttpResponse httpResponse) throws UnsupportedOperationException, IOException
protected void checkError(Response response) throws ArangoDBException
ArangoDBExceptionpublic void setJwt(String jwt)
setJwt in interface ConnectionCopyright © 2016–2023 ArangoDB GmbH. All rights reserved.