Class IdcHttpClient
java.lang.Object
oracle.stellent.ridc.IdcClient<IdcHttpClientConfig,IdcHttpProtocol,IdcHttpClientConnection>
oracle.stellent.ridc.protocol.http.IdcHttpClient
@Exported
public class IdcHttpClient
extends IdcClient<IdcHttpClientConfig,IdcHttpProtocol,IdcHttpClientConnection>
-
Constructor Summary
ConstructorsConstructorDescriptionIdcHttpClient
(IdcClientManager clientManager, IdcHttpClientConfig clientConfig) -
Method Summary
Modifier and TypeMethodDescriptionCreate the connection managerprotected IdcHttpProtocol
createProtocol
(ServiceRequest<IdcHttpClientConnection> connection) Create the protocol to handle the requestfinal RIDCHttpClientProvider
void
Initialize the client.Methods inherited from class oracle.stellent.ridc.IdcClient
createBinder, createConnectionPool, createRequest, createResponse, getClientManager, getConfig, getConnectionManager, getConnectionPool, getDataFactory, getVersion, isCompatible, isInitialized, logout, logout, sendRequest, sendRequest, setDataFactory, setInitialized
-
Constructor Details
-
IdcHttpClient
public IdcHttpClient(IdcClientManager clientManager, IdcHttpClientConfig clientConfig) throws IdcClientException - Throws:
IdcClientException
-
-
Method Details
-
initialize
Description copied from class:IdcClient
Initialize the client. This should be called before any calls to other public methods in the client.- Overrides:
initialize
in classIdcClient<IdcHttpClientConfig,
IdcHttpProtocol, IdcHttpClientConnection> - Throws:
IdcClientException
-
getHttpClientProvider
-
createConnectionManager
@Concealed protected ConnectionManager<IdcHttpClientConnection,IdcHttpClientConfig> createConnectionManager()Create the connection manager- Specified by:
createConnectionManager
in classIdcClient<IdcHttpClientConfig,
IdcHttpProtocol, IdcHttpClientConnection> - Returns:
- a new connection manager
-
createProtocol
@Concealed protected IdcHttpProtocol createProtocol(ServiceRequest<IdcHttpClientConnection> connection) Create the protocol to handle the request- Specified by:
createProtocol
in classIdcClient<IdcHttpClientConfig,
IdcHttpProtocol, IdcHttpClientConnection> - Parameters:
connection
- the connection object- Returns:
- the protocol handler
-