public class OpenSearchServerConnection extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
OpenSearchServerConnection.CallThread |
static class |
OpenSearchServerConnection.Result |
Modifier and Type | Field and Description |
---|---|
protected String |
xPathException |
protected String |
xPathStatus |
Modifier | Constructor and Description |
---|---|
protected |
OpenSearchServerConnection(org.apache.http.client.HttpClient client,
OpenSearchServerConfig config) |
Modifier and Type | Method and Description |
---|---|
protected void |
call(org.apache.http.client.methods.HttpRequestBase method) |
protected String |
checkXPath(String xPathQuery) |
protected StringBuffer |
getApiUrl(String command) |
protected StringBuffer |
getApiUrlV2(String path) |
String |
getCallUrlSnippet() |
protected String |
getResponse() |
OpenSearchServerConnection.Result |
getResult() |
String |
getResultCode() |
String |
getResultDescription() |
protected void |
setResult(String resultCode,
OpenSearchServerConnection.Result res,
String desc) |
void |
setResultCode(String resultCode) |
protected String xPathStatus
protected String xPathException
protected OpenSearchServerConnection(org.apache.http.client.HttpClient client, OpenSearchServerConfig config)
protected StringBuffer getApiUrl(String command) throws ManifoldCFException
ManifoldCFException
protected StringBuffer getApiUrlV2(String path) throws ManifoldCFException
ManifoldCFException
protected void call(org.apache.http.client.methods.HttpRequestBase method) throws ManifoldCFException
ManifoldCFException
protected String checkXPath(String xPathQuery) throws ManifoldCFException
ManifoldCFException
protected void setResult(String resultCode, OpenSearchServerConnection.Result res, String desc)
public String getResultDescription()
protected String getResponse()
public OpenSearchServerConnection.Result getResult()
public String getCallUrlSnippet()
public void setResultCode(String resultCode)
public String getResultCode()