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, callAndWait
public XmlLoggingInternalClient(URL endpoint, PrintStream out)
endpoint
- endpointout
- output stream for loggingprotected byte[] serializeCall(String method, List paramList) throws IOException
InternalClient
methodCall
document corresponding
to an XML-RPC method call.serializeCall
in class InternalClient
method
- methodName stringparamList
- list of XML-RPC parametersIOException
protected Object deserializeResponse(InputStream in) throws IOException
InternalClient
methodResponse
document to a
Java object.deserializeResponse
in class InternalClient
in
- input stream containing response documentIOException
Copyright © 2008–2024. All rights reserved.