org.apache.xmlrpc.client

Class XmlRpcLocalStreamTransport

public class XmlRpcLocalStreamTransport extends XmlRpcStreamTransport

Another local transport for debugging and testing. This one is similar to the {@link org.apache.xmlrpc.client.XmlRpcLocalTransport}, except that it adds request serialization. In other words, it is particularly well suited for development and testing of XML serialization and parsing.
Constructor Summary
XmlRpcLocalStreamTransport(XmlRpcClient pClient, XmlRpcStreamRequestProcessor pServer)
Creates a new instance.
Method Summary
protected voidclose()
protected InputStreamgetInputStream()
protected booleanisResponseGzipCompressed(XmlRpcStreamRequestConfig pConfig)
protected ReqWriternewReqWriter(XmlRpcRequest pRequest)
protected voidwriteRequest(ReqWriter pWriter)

Constructor Detail

XmlRpcLocalStreamTransport

public XmlRpcLocalStreamTransport(XmlRpcClient pClient, XmlRpcStreamRequestProcessor pServer)
Creates a new instance.

Parameters: pClient The client, which is controlling the transport. pServer An instance of {@link XmlRpcStreamRequestProcessor}.

Method Detail

close

protected void close()

getInputStream

protected InputStream getInputStream()

isResponseGzipCompressed

protected boolean isResponseGzipCompressed(XmlRpcStreamRequestConfig pConfig)

newReqWriter

protected ReqWriter newReqWriter(XmlRpcRequest pRequest)

writeRequest

protected void writeRequest(ReqWriter pWriter)
Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.