public class ElasticSearchAction extends ElasticSearchConnection
Modifier and Type | Class and Description |
---|---|
static class |
ElasticSearchAction.CommandEnum |
ElasticSearchConnection.CallThread, ElasticSearchConnection.Result
config, jsonException
Constructor and Description |
---|
ElasticSearchAction(org.apache.http.client.HttpClient client,
ElasticSearchConfig config) |
Modifier and Type | Method and Description |
---|---|
void |
execute(ElasticSearchAction.CommandEnum cmd,
boolean checkConnection) |
protected void |
handleIOException(IOException e) |
call, checkJson, getApiUrl, getCallUrlSnippet, getResponse, getResult, getResultCode, getResultDescription, handleHttpException, handleResultCode, setResult, setResultCode
public ElasticSearchAction(org.apache.http.client.HttpClient client, ElasticSearchConfig config) throws ManifoldCFException
ManifoldCFException
public void execute(ElasticSearchAction.CommandEnum cmd, boolean checkConnection) throws ManifoldCFException, ServiceInterruption
protected void handleIOException(IOException e) throws ManifoldCFException, ServiceInterruption
handleIOException
in class ElasticSearchConnection
ManifoldCFException
ServiceInterruption