org.pasoa.util.httpsoap
Class DefaultDocumentClient
java.lang.Object
org.pasoa.util.httpsoap.DefaultDocumentClient
- All Implemented Interfaces:
- HTTPDocumentClient
- public class DefaultDocumentClient
- extends Object
- implements HTTPDocumentClient
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultDocumentClient
public DefaultDocumentClient()
invoke
public Document invoke(URL endpoint,
Document request)
throws IOException,
SAXException
- Specified by:
invoke
in interface HTTPDocumentClient
- Throws:
IOException
SAXException
invoke
public Document invoke(URL endpoint,
String request)
throws IOException,
SAXException
- Throws:
IOException
SAXException
invoke
public Document invoke(Dispatcher dispatcher,
String context,
Node request)
throws UnsupportedEncodingException,
Exception
- Throws:
UnsupportedEncodingException
- If the request string cannot be parsed into UTF-8
Exception
post
public InputStream post(URL url,
String content)
throws IOException
- Throws:
IOException
readString
public static String readString(InputStream textStream)
throws IOException
- Throws:
IOException