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