public class XmlLoggingInternalClient extends InternalClient
| Constructor and Description |
|---|
XmlLoggingInternalClient(URL endpoint,
PrintStream out)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected Object |
deserializeResponse(InputStream in)
Deserializes an XML-RPC
methodResponse document to a
Java object. |
protected byte[] |
serializeCall(String method,
List paramList)
Generates the XML
methodCall document corresponding
to an XML-RPC method call. |
callAndForget, callAndWaitpublic XmlLoggingInternalClient(URL endpoint, PrintStream out)
endpoint - endpointout - output stream for loggingprotected byte[] serializeCall(String method, List paramList) throws IOException
InternalClientmethodCall document corresponding
to an XML-RPC method call.serializeCall in class InternalClientmethod - methodName stringparamList - list of XML-RPC parametersIOExceptionprotected Object deserializeResponse(InputStream in) throws IOException
InternalClientmethodResponse document to a
Java object.deserializeResponse in class InternalClientin - input stream containing response documentIOExceptionCopyright © 2008–2024. All rights reserved.