io.airlift.http.client
Class ApacheHttpClient
java.lang.Object
io.airlift.http.client.ApacheHttpClient
- All Implemented Interfaces:
- HttpClient
@Beta
public class ApacheHttpClient
- extends Object
- implements HttpClient
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApacheHttpClient
public ApacheHttpClient()
ApacheHttpClient
public ApacheHttpClient(HttpClientConfig config)
ApacheHttpClient
public ApacheHttpClient(HttpClientConfig config,
Set<HttpRequestFilter> requestFilters)
getStats
public RequestStats getStats()
- Specified by:
getStats in interface HttpClient
execute
public <T,E extends Exception> T execute(Request request,
ResponseHandler<T,E> responseHandler)
throws E extends Exception
- Specified by:
execute in interface HttpClient
- Throws:
E extends Exception
Copyright © 2010-2012 Airlift. All Rights Reserved.