Class HttpClient
- java.lang.Object
-
- org.apache.http.impl.client.CloseableHttpClient
-
- com.floragunn.signals.watch.common.HttpClient
-
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.http.client.HttpClient
public class HttpClient extends org.apache.http.impl.client.CloseableHttpClient
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()protected org.apache.http.client.methods.CloseableHttpResponsedoExecute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context)org.apache.http.conn.ClientConnectionManagergetConnectionManager()org.apache.http.params.HttpParamsgetParams()
-
-
-
Method Detail
-
getParams
public org.apache.http.params.HttpParams getParams()
-
getConnectionManager
public org.apache.http.conn.ClientConnectionManager getConnectionManager()
-
close
public void close() throws IOException- Throws:
IOException
-
doExecute
protected org.apache.http.client.methods.CloseableHttpResponse doExecute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context) throws IOException, org.apache.http.client.ClientProtocolException- Specified by:
doExecutein classorg.apache.http.impl.client.CloseableHttpClient- Throws:
IOExceptionorg.apache.http.client.ClientProtocolException
-
-