Class MultiSpeakEndpoint
java.lang.Object
com.ecec.rweber.multispeak.MultiSpeakEndpoint
This class represents the connection information for a given Multispeak endpoint. This is the starting point for creating any type of service communication. Endpoints can be created with or without authentication information depending on how they are setup.
- Author:
- rweber
-
Constructor Summary
ConstructorsConstructorDescriptionMultiSpeakEndpoint(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) MultiSpeakEndpoint(File xmlFile) -
Method Summary
Modifier and TypeMethodDescriptionprotected ElementgetURL()voidsetAppName(String app) This could be used to set the app name after object creation, if necessaryvoidsetAuthentication(String username, String password) This could be used to set authentication after object creation, if necessaryvoidsetCompany(String company) This could be used to set the company name after object creation, if necessary
-
Constructor Details
-
MultiSpeakEndpoint
- Parameters:
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 needed
-
MultiSpeakEndpoint
public MultiSpeakEndpoint(MultiSpeakVersion version, String company, String url, String username, String password) - Parameters:
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 endpoint
-
MultiSpeakEndpoint
public MultiSpeakEndpoint(MultiSpeakVersion version, String company, String url, String username, String password, String app) - Parameters:
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 setup
-
MultiSpeakEndpoint
- Parameters:
xmlFile- xml file containing the MultiSpeak connection information- Throws:
JDOMExceptionIOExceptionMultiSpeakException
-
-
Method Details
-
createHeader
-
getVersion
-
getURL
-
getUsername
-
getPassword
-
getAppName
-
getCompany
-
setAuthentication
-
setAppName
This could be used to set the app name after object creation, if necessary- Parameters:
app- appname as defined by the endpoint setup
-
setCompany
This could be used to set the company name after object creation, if necessary- Parameters:
company- name of the company as defined by the endpoint setup
-