Class AbstractSolrQueryHTTPClient

java.lang.Object
org.alfresco.repo.search.impl.solr.AbstractSolrQueryHTTPClient
Direct Known Subclasses:
SolrQueryHTTPClient, SolrSQLHttpClient

public abstract class AbstractSolrQueryHTTPClient extends Object
  • Field Details

  • Constructor Details

    • AbstractSolrQueryHTTPClient

      public AbstractSolrQueryHTTPClient()
  • Method Details

    • postQuery

      protected org.json.JSONObject postQuery(org.apache.commons.httpclient.HttpClient httpClient, String url, org.json.JSONObject body) throws IOException, org.json.JSONException
      Throws:
      IOException
      org.json.JSONException
    • createNewPostMethod

      protected org.apache.commons.httpclient.methods.PostMethod createNewPostMethod(String url)
      Helper method that can be overridden by unit tests.