public interface IHttpConnFactory
Modifier and Type | Method and Description |
---|---|
IHttpConnection |
getConn()
Request access to a Ldap connection from the pool.
|
void |
returnConn(IHttpConnection conn)
Return connection to the factory.
|
IHttpConnection getConn() throws EBaseException
EBaseException
- if any error occurs, such as avoid returnConn(IHttpConnection conn) throws EBaseException
conn
- Ldap connection object to be returned to the free list of the pool.EBaseException
- On any failure to return the connection.