public abstract class ElasticClient extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ElasticIndexingAuditTrail |
auditTrail |
protected org.apache.http.client.HttpClient |
client |
protected String |
urlClient |
| Constructor and Description |
|---|
ElasticClient(ElasticIndexingAuditTrail auditTrail) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract org.apache.http.conn.HttpClientConnectionManager |
getClientConnectionManager() |
protected abstract String |
getEsPasswordProperty() |
protected abstract String |
getEsUsernameProperty() |
protected ElasticResponse |
sendHttpDeleteRequest(String url) |
protected ElasticResponse |
sendHttpGetRequest(String url) |
protected ElasticResponse |
sendHttpPostRequest(String url,
String content) |
protected String urlClient
protected org.apache.http.client.HttpClient client
protected ElasticIndexingAuditTrail auditTrail
public ElasticClient(ElasticIndexingAuditTrail auditTrail)
protected ElasticResponse sendHttpPostRequest(String url, String content)
protected ElasticResponse sendHttpDeleteRequest(String url)
protected ElasticResponse sendHttpGetRequest(String url)
protected abstract String getEsUsernameProperty()
protected abstract String getEsPasswordProperty()
protected abstract org.apache.http.conn.HttpClientConnectionManager getClientConnectionManager()
Copyright © 2003–2017 eXo Platform SAS. All rights reserved.