summaryrefslogtreecommitdiffstats
path: root/pki/base/common/src/com/netscape/certsrv/connector/IHttpConnFactory.java
diff options
context:
space:
mode:
Diffstat (limited to 'pki/base/common/src/com/netscape/certsrv/connector/IHttpConnFactory.java')
-rw-r--r--pki/base/common/src/com/netscape/certsrv/connector/IHttpConnFactory.java27
1 files changed, 12 insertions, 15 deletions
diff --git a/pki/base/common/src/com/netscape/certsrv/connector/IHttpConnFactory.java b/pki/base/common/src/com/netscape/certsrv/connector/IHttpConnFactory.java
index c53c6f09d..154d1e959 100644
--- a/pki/base/common/src/com/netscape/certsrv/connector/IHttpConnFactory.java
+++ b/pki/base/common/src/com/netscape/certsrv/connector/IHttpConnFactory.java
@@ -17,35 +17,32 @@
// --- END COPYRIGHT BLOCK ---
package com.netscape.certsrv.connector;
-
import com.netscape.certsrv.base.EBaseException;
/**
- * 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.
- *
+ * 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$
*/
public interface IHttpConnFactory {
-
/**
* Request access to a Ldap connection from the pool.
+ *
* @exception EBaseException if any error occurs, such as a
- * @return Ldap connection object.
- * connection is not available
+ * @return Ldap connection object. connection is not available
*/
- public IHttpConnection getConn()
- throws EBaseException;
+ public IHttpConnection getConn() throws EBaseException;
/**
* Return connection to the factory. mandatory after a getConn().
- * @param conn Ldap connection object to be returned to the free list of the pool.
+ *
+ * @param conn Ldap connection object to be returned to the free list of the
+ * pool.
* @exception EBaseException On any failure to return the connection.
*/
- public void returnConn(IHttpConnection conn)
- throws EBaseException;
+ public void returnConn(IHttpConnection conn) throws EBaseException;
}