|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.vizzini.util.xml.XMLTransporter
public class XMLTransporter
Provides convenience methods to send XML documents.
Method Summary | |
---|---|
static XMLTransporter |
getInstance()
Return the singleton instance. |
String |
sendXml(String urlStr,
String xmlMessage,
boolean isResponseExpected)
Send the given XML message to the given URL. |
String |
sendXml(URL url,
String xmlMessage,
boolean isResponseExpected)
Send the given XML message to the given URL. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static XMLTransporter getInstance()
public String sendXml(String urlStr, String xmlMessage, boolean isResponseExpected) throws MalformedURLException, IOException
urlStr
- Destination URL as a String
.xmlMessage
- XML message.isResponseExpected
- Flag indicating if a response is expected.
IOException
MalformedURLException
public String sendXml(URL url, String xmlMessage, boolean isResponseExpected) throws IOException
url
- Destination URL.xmlMessage
- XML message.isResponseExpected
- Flag indicating if a response is expected.
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2007 Vizzini.org. All Rights Reserved. | 2007.12.25.03.00.02 |