oracle.stellent.ridc.protocol.http
Class IdcHttpConnectionManager

java.lang.Object
  extended by oracle.stellent.ridc.protocol.http.IdcHttpConnectionManager
All Implemented Interfaces:
ConnectionManager<IdcHttpClientConnection,IdcHttpClientConfig>

public class IdcHttpConnectionManager
extends java.lang.Object
implements ConnectionManager<IdcHttpClientConnection,IdcHttpClientConfig>


Constructor Summary
IdcHttpConnectionManager()
           
 
Method Summary
 void cleanupConnection(IdcHttpClientConnection connection)
          Cleanup the connection on this service request
 IdcHttpClientConnection createConnection(IdcHttpClientConfig clientConfig)
          Create a new connection.
 void initializeConnection(IdcHttpClientConnection connection)
          Initialize a connection aquired from the threading model to use with this service request object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdcHttpConnectionManager

public IdcHttpConnectionManager()
Method Detail

createConnection

public IdcHttpClientConnection createConnection(IdcHttpClientConfig clientConfig)
Create a new connection. This will be called to populate the threading model. This connection should be uninitialized.

Specified by:
createConnection in interface ConnectionManager<IdcHttpClientConnection,IdcHttpClientConfig>
Parameters:
clientConfig - the client configuration
Returns:
the new connection

initializeConnection

public void initializeConnection(IdcHttpClientConnection connection)
Initialize a connection aquired from the threading model to use with this service request object.

Specified by:
initializeConnection in interface ConnectionManager<IdcHttpClientConnection,IdcHttpClientConfig>
Parameters:
connection - the connection

cleanupConnection

public void cleanupConnection(IdcHttpClientConnection connection)
Cleanup the connection on this service request

Specified by:
cleanupConnection in interface ConnectionManager<IdcHttpClientConnection,IdcHttpClientConfig>
Parameters:
connection - the protocol connection


Copyright © 2008-2009 Oracle Corporation. All Rights Reserved.