Class MultiSpeakClient
java.lang.Object
com.ecec.rweber.multispeak.MultiSpeakClient
Non-visible class for encapsulating the HTTP send/receive functions of the library. This is called in the background by all classes extending the MultiSpeakService class. Any additional envelope information needed to complete the MultiSpeak call is done here as well.
- Author:
- rweber
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected MultiSpeakEndpointprotected DocumentsendRequest(String method) protected DocumentsendRequest(String method, String[] params) protected DocumentsendRequest(String method, List<Element> params)
-
Constructor Details
-
MultiSpeakClient
-
-
Method Details
-
getEndpoint
-
sendRequest
- Parameters:
method- Multispeak Method to send to the endpoint- Returns:
- the xml result of the call (could be null)
- Throws:
MultiSpeakException- an exception meaning that some part of the result is malformed or the request was in error
-
sendRequest
- Parameters:
method- Multispeak Method to send to the endpointparams- the element that contain the parameters for this method- Returns:
- the xml result of the call (could be null)
- Throws:
MultiSpeakException- an exception meaning that some part of the result is malformed or the request was in error
-
sendRequest
- Parameters:
method- Multispeak Method to send to the endpointparams- the element that contain the parameters for this method- Returns:
- the SOAP response as a JDOM document, or null if the request failed
- Throws:
MultiSpeakException- an exception meaning that some part of the result is malformed or the request was in error
-