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 Closeable
close
in interface AutoCloseable
IOException
public Response execute(Request request) throws ArangoDBException, IOException
ArangoDBException
IOException
public Response buildResponse(org.apache.http.client.methods.CloseableHttpResponse httpResponse) throws UnsupportedOperationException, IOException
protected void checkError(Response response) throws ArangoDBException
ArangoDBException
public void setJwt(String jwt)
setJwt
in interface Connection
Copyright © 2016–2022 ArangoDB GmbH. All rights reserved.