public final class HttpDriver extends AbstractConfigurableDriver
driverConfig, transactionManager| Constructor and Description |
|---|
HttpDriver() |
HttpDriver(org.apache.http.impl.client.CloseableHttpClient httpClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.apache.http.client.methods.CloseableHttpResponse |
executeHttpRequest(org.apache.http.client.methods.HttpRequestBase request) |
Transaction |
newTransaction(Transaction.Type type,
String bookmark) |
boolean |
readOnly() |
Request |
request() |
configure, getConfiguration, setTransactionManagerpublic HttpDriver()
public HttpDriver(org.apache.http.impl.client.CloseableHttpClient httpClient)
public void close()
public Request request()
public Transaction newTransaction(Transaction.Type type, String bookmark)
public org.apache.http.client.methods.CloseableHttpResponse executeHttpRequest(org.apache.http.client.methods.HttpRequestBase request)
throws HttpRequestException
HttpRequestExceptionpublic boolean readOnly()
Copyright © 2017 Neo Technology, Inc.. All rights reserved.