Configuring outbound HTTP connections by using the Model Controller SPI
To query and administer the outbound HTTP connection, you can also use the model controller SPI.
The information that is given here provides a brief introduction only. For a complete reference about this SPI, visit the outbound HTTP connection Javadoc.
- Obtaining the Model SPI
You can obtain the home object for the outbound HTTP connection configuration model by using JNDI lookup. - Obtaining the Controller SPI
The Outbound HTTP Connection configuration model SPI grants read access to the configuration only. You can make updates to the outbound HTTP connection configuration model by using the Controller SPI. - Viewing the configuration settings of the outbound HTTP connection
HCL Portal provides several interfaces that you can use to retrieve configuration settings: OutboundConnectionProfile, PolicyMapping,PolicyRule
,CookieRule
, and PolicyVariable. - Modifying configuration settings of the outbound HTTP connection
You can change configuration settings of the outbound HTTP connection by using the following interfaces: ModifiableOutboundConnectionProfile, ModifiablePolicyMapping, ModifiablePolicyRule, ModifiableCookieRule, and ModifiablePolicyVariable. - Creating and deleting configuration settings of the outbound HTTP connection
The controller object also provides methods for creating or deleting configuration settings.