Configure outbound HTTP connections using the Model Controller SPI
To query and administer the outbound HTTP connection, we can also use the model controller SPI.
The information given here provides a brief introduction only. For a complete reference about this SPI, read the outbound HTTP connection Javadoc.
- Obtain the Model SPI
We can obtain the home object for the outbound HTTP connection configuration model using JNDI lookup.
- Obtain the Controller SPI
The Outbound HTTP Connection configuration model SPI grants read access to the configuration only. We can make updates to the outbound HTTP connection configuration model using the Controller SPI.
- View the configuration settings of the outbound HTTP connection
WebSphere Portal provides several interfaces used to retrieve configuration settings: OutboundConnectionProfile, PolicyMapping, PolicyRule, CookieRule, and PolicyVariable.
- Modify configuration settings of the outbound HTTP connection
We can change configuration settings of the outbound HTTP connection using the following interfaces: ModifiableOutboundConnectionProfile, ModifiablePolicyMapping, ModifiablePolicyRule, ModifiableCookieRule, and ModifiablePolicyVariable.
- Create and delete configuration settings of the outbound HTTP connection
The controller object also provides methods for creating or deleting configuration settings.
Parent Administration tools