public class ResponseParser extends Object
| Constructor and Description |
|---|
ResponseParser() |
| Modifier and Type | Method and Description |
|---|---|
Object |
parse(SerializerHandler serializerHandler,
InputStream response,
boolean debugMode)
The given InputStream must contain the xml response from an xmlrpc server.
|
static void |
printDocument(Document doc,
OutputStream out) |
public Object parse(SerializerHandler serializerHandler, InputStream response, boolean debugMode) throws XMLRPCException
serializerHandler - You can inject an arbitrary one if you want to use your own transport protocol.
See the README (section "Using an arbitrary transport") for more info on this feature.response - The InputStream of the server response.debugMode - This prints data on System.out to make it easy to debugXMLRPCException - Will be thrown whenever something fails.XMLRPCServerException - Will be thrown, if the server returns an error.public static void printDocument(Document doc, OutputStream out) throws IOException, TransformerException
IOExceptionTransformerExceptionCopyright © 2025. All rights reserved.