I want to close a connection if it released by a method. Will the following
lines of code suffice for overriding releaseConnection() in
MultiThreadedHttpConnectionManager class?
public class MyManager extends MultiThreadedHttpConnectionManager
public void releaseConnection(HttpConnection conn) {
super.releaseConnection(conn);
conn.close()
}
}
Thanks,
Ashesh
-----Original Message-----
From: Ashesh [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 27, 2007 2:55 AM
To: 'HttpClient User Discussion'
Subject: How to override releaseConnection in
MultiThreadedHttpConnectionManager
Does anyone have a sample code for overriding releaseConnection() in
MultiThreadedHttpConnectionManager class?
Thanks,
Ashesh
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]