public class MAMIClientFactory
extends java.lang.Object
MAMIClient
.Modifier and Type | Method and Description |
---|---|
static MAMIClient |
build(java.lang.String gwUrl)
Creates a
MAMIClient with the given gateway URL. |
static MAMIClient |
build(java.lang.String gwUrl,
int timeout) |
static MAMIClient |
build(java.lang.String gwUrl,
java.lang.String login,
java.lang.String password)
Creates a
MAMIClient with the given gateway URL, login and password. |
static MAMIClient |
build(java.lang.String gwUrl,
java.lang.String login,
java.lang.String password,
int timeout)
Creates a
MAMIClient with the given gateway URL, login and password. |
public static MAMIClient build(java.lang.String gwUrl, java.lang.String login, java.lang.String password)
MAMIClient
with the given gateway URL, login and password.gwUrl
- a String
specifying the gateway URLlogin
- a String
specifying the login to be used while accessing the gatewaypassword
- a String
specifying the password to be used while accessing the gatewayMAMIClient
.public static MAMIClient build(java.lang.String gwUrl, java.lang.String login, java.lang.String password, int timeout)
MAMIClient
with the given gateway URL, login and password.gwUrl
- a String
specifying the gateway URLlogin
- a String
specifying the login to be used while accessing the gatewaypassword
- a String
specifying the password to be used while accessing the gatewaytimeout
- of the requestsMAMIClient
.public static MAMIClient build(java.lang.String gwUrl)
MAMIClient
with the given gateway URL.
Use build(String, String, String)
if your gateway is protected by a basic authentication mechanism.gwUrl
- a String
specifying the gateway URLMAMIClient
.public static MAMIClient build(java.lang.String gwUrl, int timeout)
gwUrl
- timeout
- Copyright © 2021 Dassault Systèmes, All Rights Reserved.