com.senseidb.search.client.json
Class SenseiServiceProxy

java.lang.Object
  extended by com.senseidb.search.client.json.SenseiServiceProxy

public class SenseiServiceProxy
extends Object


Constructor Summary
SenseiServiceProxy(String host, int port)
           
 
Method Summary
 String getSearchUrl()
           
 String getStoreGetUrl()
           
 Map<Long,org.json.JSONObject> sendGetRequest(long... uids)
           
 String sendPostRaw(String urlStr, String requestStr)
           
 String sendPostRaw(String urlStr, String requestStr, Map<String,String> headers)
           
 SenseiResult sendSearchRequest(SenseiClientRequest request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SenseiServiceProxy

public SenseiServiceProxy(String host,
                          int port)
Method Detail

sendSearchRequest

public SenseiResult sendSearchRequest(SenseiClientRequest request)

sendGetRequest

public Map<Long,org.json.JSONObject> sendGetRequest(long... uids)
                                             throws IOException,
                                                    org.json.JSONException
Throws:
IOException
org.json.JSONException

getSearchUrl

public String getSearchUrl()

getStoreGetUrl

public String getStoreGetUrl()

sendPostRaw

public String sendPostRaw(String urlStr,
                          String requestStr)

sendPostRaw

public String sendPostRaw(String urlStr,
                          String requestStr,
                          Map<String,String> headers)


Copyright © 2010-2012. All Rights Reserved.