public class HttpCommunication extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
HttpCommunication.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 |
disconnect() |
Response |
execute(Request request) |
public void disconnect()
public 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–2017 ArangoDB GmbH. All rights reserved.