public class ElasticSearchDelete extends ElasticSearchConnection
ElasticSearchConnection.CallThread, ElasticSearchConnection.Resultconfig, jsonException| Constructor and Description |
|---|
ElasticSearchDelete(org.apache.http.client.HttpClient client,
ElasticSearchConfig config) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(java.lang.String documentURI) |
protected boolean |
handleResultCode(int code,
java.lang.String response) |
call, checkJson, getApiUrl, getCallUrlSnippet, getResponse, getResult, getResultCode, getResultDescription, handleHttpException, handleIOException, setResult, setResultCodepublic ElasticSearchDelete(org.apache.http.client.HttpClient client,
ElasticSearchConfig config)
public void execute(java.lang.String documentURI)
throws org.apache.manifoldcf.core.interfaces.ManifoldCFException,
org.apache.manifoldcf.agents.interfaces.ServiceInterruption
org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionorg.apache.manifoldcf.agents.interfaces.ServiceInterruptionprotected boolean handleResultCode(int code,
java.lang.String response)
throws org.apache.manifoldcf.core.interfaces.ManifoldCFException,
org.apache.manifoldcf.agents.interfaces.ServiceInterruption
handleResultCode in class ElasticSearchConnectionorg.apache.manifoldcf.core.interfaces.ManifoldCFExceptionorg.apache.manifoldcf.agents.interfaces.ServiceInterruption