Class OpenSearchServerConnection

    • Field Detail

      • xPathStatus

        protected java.lang.String xPathStatus
      • xPathException

        protected java.lang.String xPathException
    • Constructor Detail

      • OpenSearchServerConnection

        protected OpenSearchServerConnection​(org.apache.http.client.HttpClient client,
                                             OpenSearchServerConfig config)
    • Method Detail

      • getApiUrl

        protected java.lang.StringBuffer getApiUrl​(java.lang.String command)
                                            throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
        Throws:
        org.apache.manifoldcf.core.interfaces.ManifoldCFException
      • getApiUrlV2

        protected java.lang.StringBuffer getApiUrlV2​(java.lang.String path)
                                              throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
        Throws:
        org.apache.manifoldcf.core.interfaces.ManifoldCFException
      • call

        protected void call​(org.apache.http.client.methods.HttpRequestBase method)
                     throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
        Throws:
        org.apache.manifoldcf.core.interfaces.ManifoldCFException
      • checkXPath

        protected java.lang.String checkXPath​(java.lang.String xPathQuery)
                                       throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
        Throws:
        org.apache.manifoldcf.core.interfaces.ManifoldCFException
      • getResultDescription

        public java.lang.String getResultDescription()
      • getResponse

        protected java.lang.String getResponse()
      • getCallUrlSnippet

        public java.lang.String getCallUrlSnippet()
      • setResultCode

        public void setResultCode​(java.lang.String resultCode)
      • getResultCode

        public java.lang.String getResultCode()