io.searchbox.client.http
Class JestHttpClient

java.lang.Object
  extended by io.searchbox.client.AbstractJestClient
      extended by io.searchbox.client.http.JestHttpClient
All Implemented Interfaces:
JestClient

public class JestHttpClient
extends AbstractJestClient
implements JestClient

Author:
Dogukan Sonmez

Field Summary
 
Fields inherited from class io.searchbox.client.AbstractJestClient
servers
 
Constructor Summary
JestHttpClient()
           
 
Method Summary
 JestResult execute(Action clientRequest)
           
<T> T
executeAsync(Action clientRequest)
           
 org.apache.http.nio.client.HttpAsyncClient getAsyncClient()
           
 org.apache.http.client.HttpClient getHttpClient()
           
 void setAsyncClient(org.apache.http.nio.client.HttpAsyncClient asyncClient)
           
 void setHttpClient(org.apache.http.client.HttpClient httpClient)
           
 
Methods inherited from class io.searchbox.client.AbstractJestClient
convertJsonStringToMapObject, createNewElasticSearchResult, getElasticSearchServer, getRequestURL, getServers, isOperationSucceed, setServers, shutdownClient
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface io.searchbox.client.JestClient
shutdownClient
 

Constructor Detail

JestHttpClient

public JestHttpClient()
Method Detail

execute

public JestResult execute(Action clientRequest)
                   throws IOException
Specified by:
execute in interface JestClient
Throws:
IOException

executeAsync

public <T> T executeAsync(Action clientRequest)
Specified by:
executeAsync in interface JestClient
Overrides:
executeAsync in class AbstractJestClient

getHttpClient

public org.apache.http.client.HttpClient getHttpClient()

setHttpClient

public void setHttpClient(org.apache.http.client.HttpClient httpClient)

getAsyncClient

public org.apache.http.nio.client.HttpAsyncClient getAsyncClient()

setAsyncClient

public void setAsyncClient(org.apache.http.nio.client.HttpAsyncClient asyncClient)


Copyright © 2012. All Rights Reserved.