Skip navigation links

Oracle® WebCenter Content Remote Intradoc Client (RIDC) Java API Reference
11g Release 1 (11.1)

E17274-03


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.
protected  java.lang.String getProxy(IdcHttpClientConfig clientConfig)
          Retrieve the proxy to use for the host in the client config.
 void initializeConnection(IdcHttpClientConnection connection)
          Initialize a connection acquired 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)
                                         throws ProtocolException
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
Throws:
ProtocolException
java.net.URISyntaxException

initializeConnection

public void initializeConnection(IdcHttpClientConnection connection)
Initialize a connection acquired 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

getProxy

protected java.lang.String getProxy(IdcHttpClientConfig clientConfig)
Retrieve the proxy to use for the host in the client config.

Note: code copied from oracle.jdevimpl.connection.webdav.wizard.ConnectionDialog.TestActionListener#getProxy from the jdevadf/modules/webdav2

Parameters:
clientConfig - the client configuration
Returns:
the proxy server to use or null if it does not use a proxy

Skip navigation links

Oracle® WebCenter Content Remote Intradoc Client (RIDC) Java API Reference
11g Release 1 (11.1)

E17274-03


Copyright © 2008, 2011, Oracle and/or its affiliates. All rights reserved.