Interface IHttpConnFactory


  • public interface IHttpConnFactory
    Maintains a pool of connections to to a Remote Authority. Utilized by the IHttpConnector interface. Multiple threads use this interface to utilize and release the Ldap connection resources. This factory will maintain a list of Http type connections to the remote host.
    Version:
    $Revision$, $Date$
    • Method Detail

      • getConn

        IHttpConnection getConn()
                         throws EBaseException
        Request access to a Ldap connection from the pool.
        Returns:
        Ldap connection object. connection is not available
        Throws:
        EBaseException - if any error occurs, such as a
      • returnConn

        void returnConn​(IHttpConnection conn)
                 throws EBaseException
        Return connection to the factory. mandatory after a getConn().
        Parameters:
        conn - Ldap connection object to be returned to the free list of the pool.
        Throws:
        EBaseException - On any failure to return the connection.