net.sf.basedb.util.uri.http
Class HttpConnectionManager.CloseableHttpClient
java.lang.Object
net.sf.basedb.util.uri.http.HttpConnectionManager.CloseableHttpClient
- All Implemented Interfaces:
- Closeable
- Enclosing class:
- HttpConnectionManager
public static class HttpConnectionManager.CloseableHttpClient
- extends Object
- implements Closeable
Closable implementation that closes the given HttpClient
when the close() method is called.
Method Summary |
void |
close()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
client
private final org.apache.http.client.HttpClient client
HttpConnectionManager.CloseableHttpClient
public HttpConnectionManager.CloseableHttpClient(org.apache.http.client.HttpClient client)
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Throws:
IOException