3.0.4: 2012-03-05

net.sf.basedb.util.uri.http
Class HttpConnectionManager.CloseableHttpClient

java.lang.Object
  extended by 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.


Field Summary
private  org.apache.http.client.HttpClient client
           
 
Constructor Summary
HttpConnectionManager.CloseableHttpClient(org.apache.http.client.HttpClient client)
           
 
Method Summary
 void close()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

client

private final org.apache.http.client.HttpClient client
Constructor Detail

HttpConnectionManager.CloseableHttpClient

public HttpConnectionManager.CloseableHttpClient(org.apache.http.client.HttpClient client)
Method Detail

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Throws:
IOException

3.0.4: 2012-03-05