Package org.apache.xmlrpc.client
Class XmlRpcLocalStreamTransportFactory
java.lang.Object
org.apache.xmlrpc.client.XmlRpcTransportFactoryImpl
org.apache.xmlrpc.client.XmlRpcStreamTransportFactory
org.apache.xmlrpc.client.XmlRpcLocalStreamTransportFactory
- All Implemented Interfaces:
XmlRpcTransportFactory
Another local transport factory for debugging and testing. This one is
similar to the
XmlRpcLocalTransportFactory
,
except that it adds request serialization. In other words, it is
particularly well suited for development and testing of XML serialization
and parsing.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionXmlRpcLocalStreamTransportFactory
(XmlRpcClient pClient, XmlRpcStreamRequestProcessor pServer) Creates a new instance. -
Method Summary
Methods inherited from class org.apache.xmlrpc.client.XmlRpcTransportFactoryImpl
getClient
-
Field Details
-
server
-
-
Constructor Details
-
XmlRpcLocalStreamTransportFactory
public XmlRpcLocalStreamTransportFactory(XmlRpcClient pClient, XmlRpcStreamRequestProcessor pServer) Creates a new instance.- Parameters:
pClient
- The client controlling the factory.pServer
- An instance ofXmlRpcStreamRequestProcessor
.
-
-
Method Details
-
getTransport
Description copied from interface:XmlRpcTransportFactory
Returns an instance ofXmlRpcTransport
. This may be a singleton, but the caller should not depend on that: A new instance may as well be created for any request.- Returns:
- The configured transport.
-