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 Closeable
close
in interface AutoCloseable
IOException
public Response execute(Request request) throws ArangoDBException, IOException, SocketException
public 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
ArangoDBException
Copyright © 2016–2021 ArangoDB GmbH. All rights reserved.