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
public class XmlRpcLocalStreamTransportFactory
- extends XmlRpcStreamTransportFactory
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlRpcLocalStreamTransportFactory
public XmlRpcLocalStreamTransportFactory(XmlRpcClient pClient,
XmlRpcStreamRequestProcessor pServer)
- Creates a new instance.
- Parameters:
pClient
- The client controlling the factory.pServer
- An instance of XmlRpcStreamRequestProcessor
.
getTransport
public XmlRpcTransport getTransport()
- Description copied from interface:
XmlRpcTransportFactory
- Returns an instance of
XmlRpcTransport
. 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.
Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.