public class IlrSSPServiceFactory
extends java.lang.Object
This class is used when connecting your application to an SSP server to launch the execution of your scenario suite.
The main steps for doing this are:
A full code example is provided in the package description: ilog.rules.dvs.client.
| Modifier and Type | Method and Description |
|---|---|
IlrSSPService |
createHTTPClient(com.ibm.odm.httpclient.OdmHttpClientFactory clientFactory,
java.net.URL urlToTheSSPServer,
java.lang.String username,
java.lang.String password)
Creates an HTTP client of the SSP service.
|
IlrSSPService |
createHTTPClient(java.net.URL urlToTheSSPServer,
java.lang.String username,
java.lang.String password)
Creates an HTTP client of the SSP service.
|
static IlrSSPServiceFactory |
getInstance()
Returns the singleton instance.
|
public static IlrSSPServiceFactory getInstance()
public IlrSSPService createHTTPClient(java.net.URL urlToTheSSPServer, java.lang.String username, java.lang.String password) throws ilog.rules.res.util.http.IlrConnectionException, ilog.rules.res.util.http.IlrAuthenticationException
ilog.rules.res.util.http.IlrConnectionException - If the connection failed.ilog.rules.res.util.http.IlrAuthenticationException - If the authentication failed on user or password.urlToTheSSPServer - URL to the SSP Web application.username - The user name (if authentication is needed to access the SSP server, null otherwise).password - The user password (if authentication is needed to access the SSP server, null otherwise).public IlrSSPService createHTTPClient(com.ibm.odm.httpclient.OdmHttpClientFactory clientFactory, java.net.URL urlToTheSSPServer, java.lang.String username, java.lang.String password) throws ilog.rules.res.util.http.IlrConnectionException, ilog.rules.res.util.http.IlrAuthenticationException
ilog.rules.res.util.http.IlrConnectionException - If the connection failed.ilog.rules.res.util.http.IlrAuthenticationException - If the authentication failed on user or password.clientFactory - The HTTP client factory.urlToTheSSPServer - URL to the SSP Web application.username - The user name (if authentication is needed to access the SSP server, null otherwise).password - The user password (if authentication is needed to access the SSP server, null otherwise).© Copyright IBM Corp. 1987, 2017