public class Neo4jRequestWrapper extends Object
HttpRequestBase
or a Cypher query
to the specified Neo4j instance. Also takes care of the authentication.Constructor and Description |
---|
Neo4jRequestWrapper(org.apache.http.impl.client.CloseableHttpClient httpClient,
org.apache.http.HttpHost httpHost,
String serviceRoot) |
Neo4jRequestWrapper(org.apache.http.impl.client.CloseableHttpClient httpClient,
org.apache.http.HttpHost httpHost,
String username,
String password,
String serviceRoot) |
Modifier and Type | Method and Description |
---|---|
String |
executeCypherQueries(List<String> cypherQueries) |
String |
executeCypherQuery(String cypherQuery) |
String |
executeRestRequest(org.apache.http.client.methods.HttpRequestBase httpRequest) |
String |
executeRestRequest(org.apache.http.client.methods.HttpRequestBase httpRequest,
String username,
String password) |
public Neo4jRequestWrapper(org.apache.http.impl.client.CloseableHttpClient httpClient, org.apache.http.HttpHost httpHost, String username, String password, String serviceRoot)
public Neo4jRequestWrapper(org.apache.http.impl.client.CloseableHttpClient httpClient, org.apache.http.HttpHost httpHost, String serviceRoot)
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.