public class CstaHttpConnectionsFactory
extends java.lang.Object
Constructor and Description |
---|
CstaHttpConnectionsFactory(java.lang.String osvIP)
Get a concrete instance of a Connections Factory to use for getting connections
for OSV
|
Modifier and Type | Method and Description |
---|---|
CstaHttpConnection |
getHttpConnection()
Returns a CstaHttpConnection to be used to send soap messages and get responses.
|
void |
keepAlive(int maxConnections)
This should be called if persistent connections and caching of connections is
wanted.
|
void |
returnHttpConnection(CstaHttpConnection con)
This MUST be called to return the connection to the pool or to close the connection.
|
public CstaHttpConnectionsFactory(java.lang.String osvIP)
osvIP
- public void keepAlive(int maxConnections) throws java.net.MalformedURLException
maxConnections
- java.net.MalformedURLException
public CstaHttpConnection getHttpConnection() throws java.io.IOException
java.io.IOException
public void returnHttpConnection(CstaHttpConnection con)
con
-