public class XmlRpcLocalStreamTransportFactory extends XmlRpcStreamTransportFactory
XmlRpcLocalTransportFactory
,
except that it adds request serialization. In other words, it is
particularly well suited for development and testing of XML serialization
and parsing.Constructor and Description |
---|
XmlRpcLocalStreamTransportFactory(XmlRpcClient pClient,
XmlRpcStreamRequestProcessor pServer)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
XmlRpcTransport |
getTransport()
Returns an instance of
XmlRpcTransport . |
getClient
public XmlRpcLocalStreamTransportFactory(XmlRpcClient pClient, XmlRpcStreamRequestProcessor pServer)
pClient
- The client controlling the factory.pServer
- An instance of XmlRpcStreamRequestProcessor
.public XmlRpcTransport getTransport()
XmlRpcTransportFactory
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.Copyright © 2001-2014 The Apache Software Foundation. All Rights Reserved.