public class MultiSpeakEndpoint extends Object
Constructor and Description |
---|
MultiSpeakEndpoint(MultiSpeakVersion version,
String company,
String url) |
MultiSpeakEndpoint(MultiSpeakVersion version,
String company,
String url,
String username,
String password) |
MultiSpeakEndpoint(MultiSpeakVersion version,
String company,
String url,
String username,
String password,
String app) |
Modifier and Type | Method and Description |
---|---|
protected Element |
createHeader() |
String |
getAppName() |
String |
getCompany() |
String |
getPassword() |
URL |
getURL() |
String |
getUsername() |
MultiSpeakVersion |
getVersion() |
void |
setAppName(String app)
This could be used to set the app name after object creation, if necessary
|
void |
setAuthentication(String username,
String password)
This could be used to set authentication after object creation, if necessary
|
void |
setCompany(String company)
This could be used to set the company name after object creation, if necessary
|
public MultiSpeakEndpoint(MultiSpeakVersion version, String company, String url)
version
- the version of multispeak to use for SOAP requestscompany
- the name of the company as defined by the service endpointurl
- the full URL, including port if neededpublic MultiSpeakEndpoint(MultiSpeakVersion version, String company, String url, String username, String password)
version
- the version of multispeak to use for SOAP requestscompany
- the name of the company as defined by the service endpointurl
- the full URL, including port if neededusername
- username of the endpointpassword
- password of the endpointpublic MultiSpeakEndpoint(MultiSpeakVersion version, String company, String url, String username, String password, String app)
version
- the version of multispeak to use for SOAP requestscompany
- the name of the company as defined by the service endpointurl
- the full URL, including port if neededusername
- username of the endpointpassword
- password of the endpointapp
- appname as defined by the endpoint setupprotected Element createHeader()
public MultiSpeakVersion getVersion()
public URL getURL()
public String getUsername()
public String getPassword()
public String getAppName()
public String getCompany()
public void setAuthentication(String username, String password)
username
- username of the endpointpassword
- passord of the endpointpublic void setAppName(String app)
app
- appname as defined by the endpoint setuppublic void setCompany(String company)
company
- name of the company as defined by the endpoint setupCopyright © 2021 Eau Claire Energy Cooperative. All rights reserved.