public class PushAPIFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static FactoryImpl |
impl |
Constructor and Description |
---|
PushAPIFactory() |
Modifier and Type | Method and Description |
---|---|
static PushAPI |
createHttp(PushAPIVersion version,
java.lang.String host,
java.lang.String port,
java.lang.String connectorName,
java.lang.String connectorType,
java.lang.String login,
java.lang.String password)
Create a new push client instance.
|
static PushAPI |
createHttp(PushAPIVersion version,
java.lang.String host,
java.lang.String port,
java.lang.String connectorName,
java.lang.String connectorType,
java.lang.String login,
java.lang.String password,
java.util.Map<java.lang.String,java.lang.String> extraParameters)
Create a new push client instance.
|
static PushAPI |
createHttp(java.lang.String host,
java.lang.String port,
java.lang.String connectorName,
java.lang.String connectorType,
java.lang.String login,
java.lang.String password)
Deprecated.
|
static PushAPI |
createHttp(java.lang.String version,
java.lang.String host,
java.lang.String port,
java.lang.String connectorName,
java.lang.String connectorType,
java.lang.String login,
java.lang.String password)
Create a new push client instance.
|
static PushAPI |
createHttp(java.lang.String version,
java.lang.String host,
java.lang.String port,
java.lang.String connectorName,
java.lang.String connectorType,
java.lang.String login,
java.lang.String password,
java.util.Map<java.lang.String,java.lang.String> extraParameters)
Create a new push client instance.
|
static PushAPI |
createHttps(PushAPIVersion version,
java.lang.String host,
java.lang.String port,
java.lang.String connectorName,
java.lang.String connectorType,
java.lang.String login,
java.lang.String password)
Create a new push client instance via HTTPS.
|
static PushAPI |
createHttps(PushAPIVersion version,
java.lang.String host,
java.lang.String port,
java.lang.String connectorName,
java.lang.String connectorType,
java.lang.String login,
java.lang.String password,
java.util.Map<java.lang.String,java.lang.String> extraParameters)
Create a new push client instance via HTTPS.
|
static EndpointBuilder<PushAPI> |
endpointBuilder()
Builder to generate instances of end-point PushAPI.
|
static void |
resetFactoryImpl()
Reset the class instance implementing the factory behaviour to default impl.
|
static void |
setFactoryImpl(FactoryImpl _impl)
Set the class instance implementing the factory behaviour.
|
public static FactoryImpl impl
public static final EndpointBuilder<PushAPI> endpointBuilder()
resetFactoryImpl()
,
setFactoryImpl(FactoryImpl)
public static PushAPI createHttp(PushAPIVersion version, java.lang.String host, java.lang.String port, java.lang.String connectorName, java.lang.String connectorType, java.lang.String login, java.lang.String password) throws PushAPIException
version
- the PushAPI version. Currently supported versions are
PushAPIVersion.PAPI_V4 ("v4") and PushAPIVersion.PAPI_V2 ("v2")host
- the host name of the push server.port
- the port number of the push server.connectorName
- the name of the connector to be used. For more information on connectors, refer to
the EXALEAD CloudView Connectors Guide.connectorType
- the type of the connector to be used (mainly used for license checking purpose;
the available connector types are described in your product's license).login
- identification login to be used if the target connector is secured.password
- password associated with the identification login.PushAPIException
- upon error.public static PushAPI createHttp(PushAPIVersion version, java.lang.String host, java.lang.String port, java.lang.String connectorName, java.lang.String connectorType, java.lang.String login, java.lang.String password, java.util.Map<java.lang.String,java.lang.String> extraParameters) throws PushAPIException
version
- the PushAPI version. Currently supported versions are
PushAPIVersion.PAPI_V4 ("v4") and PushAPIVersion.PAPI_V2 ("v2")host
- the host name of the push server.port
- the port number of the push server.connectorName
- the name of the connector to be used. For more information on connectors, refer to
the EXALEAD CloudView Connectors Guide.connectorType
- the type of the connector to be used (mainly used for license checking purpose;
the available connector types are described in your product's license).login
- identification login to be used if the target connector is secured.password
- password associated with the identification login.extraParameters
- extra http parameters.PushAPIException
- upon error.public static PushAPI createHttps(PushAPIVersion version, java.lang.String host, java.lang.String port, java.lang.String connectorName, java.lang.String connectorType, java.lang.String login, java.lang.String password) throws PushAPIException
version
- the PushAPI version. Currently supported versions are
PushAPIVersion.PAPI_V4 ("v4") and PushAPIVersion.PAPI_V2 ("v2")host
- the host name of the push server.port
- the port number of the push server.connectorName
- the name of the connector to be used. For more information on connectors, refer to
the EXALEAD CloudView Connectors Guide.connectorType
- the type of the connector to be used (mainly used for license checking purpose;
the available connector types are described in your product's license).login
- identification login to be used if the target connector is secured.password
- password associated with the identification login.PushAPIException
- upon error.public static PushAPI createHttps(PushAPIVersion version, java.lang.String host, java.lang.String port, java.lang.String connectorName, java.lang.String connectorType, java.lang.String login, java.lang.String password, java.util.Map<java.lang.String,java.lang.String> extraParameters) throws PushAPIException
version
- the PushAPI version. Currently supported versions are
PushAPIVersion.PAPI_V4 ("v4") and PushAPIVersion.PAPI_V2 ("v2")host
- the host name of the push server.port
- the port number of the push server.connectorName
- the name of the connector to be used. For more information on connectors, refer to
the EXALEAD CloudView Connectors Guide.connectorType
- the type of the connector to be used (mainly used for license checking purpose;
the available connector types are described in your product's license).login
- identification login to be used if the target connector is secured.password
- password associated with the identification login.extraParameters
- extra http parameters.PushAPIException
- upon error.public static PushAPI createHttp(java.lang.String version, java.lang.String host, java.lang.String port, java.lang.String connectorName, java.lang.String connectorType, java.lang.String login, java.lang.String password) throws PushAPIException
version
- the PushAPI version, as string. Currently supported versions are
"4" ("v4") and "2" ("v2")host
- the host name of the push server.port
- the port number of the push server.connectorName
- the name of the connector to be used. For more information on connectors, refer to
the EXALEAD CloudView Connectors Guide.connectorType
- the type of the connector to be used (mainly used for license checking purpose;
the available connector types are described in your product's license).login
- identification login to be used if the target connector is secured.password
- password associated with the identification login.PushAPIException
- upon error.public static PushAPI createHttp(java.lang.String version, java.lang.String host, java.lang.String port, java.lang.String connectorName, java.lang.String connectorType, java.lang.String login, java.lang.String password, java.util.Map<java.lang.String,java.lang.String> extraParameters) throws PushAPIException
version
- the PushAPI version, as string. Currently supported versions are
"4" ("v4") and "2" ("v2")host
- the host name of the push server.port
- the port number of the push server.connectorName
- the name of the connector to be used. For more information on connectors, refer to
the EXALEAD CloudView Connectors Guide.connectorType
- the type of the connector to be used (mainly used for license checking purpose;
the available connector types are described in your product's license).login
- identification login to be used if the target connector is secured.password
- password associated with the identification login.extraParameters
- extra http parameters.PushAPIException
- upon error.@Deprecated public static PushAPI createHttp(java.lang.String host, java.lang.String port, java.lang.String connectorName, java.lang.String connectorType, java.lang.String login, java.lang.String password) throws PushAPIException
host
- the host name of the push server.port
- the port number of the push server.connectorName
- the name of the connector to be used. For more information on connectors, refer to
the EXALEAD CloudView Connectors Guide.connectorType
- the type of the connector to be used (mainly used for license checking purpose;
the available connector types are described in your product's license).login
- identification login to be used if the target connector is secured.password
- password associated with the identification login.PushAPIException
- upon error.public static void setFactoryImpl(FactoryImpl _impl)
public static void resetFactoryImpl()
Copyright © 2021 Dassault Systèmes, All Rights Reserved.