io.searchbox.client.http
Class JestHttpClient
java.lang.Object
io.searchbox.client.AbstractJestClient
io.searchbox.client.http.JestHttpClient
- All Implemented Interfaces:
- JestClient
public class JestHttpClient
- extends AbstractJestClient
- implements JestClient
- Author:
- Dogukan Sonmez
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JestHttpClient
public JestHttpClient()
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.