org.apache.xmlrpc.client

Class XmlRpcLiteHttpTransportFactory

Implemented Interfaces:
XmlRpcTransportFactory

public class XmlRpcLiteHttpTransportFactory
extends XmlRpcTransportFactoryImpl

Factory for the lite HTTP transport, XmlRpcLiteHttpTransport.

Constructor Summary

XmlRpcLiteHttpTransportFactory(XmlRpcClient pClient)
Creates a new instance.

Method Summary

XmlRpcTransport
getTransport()
Returns an instance of XmlRpcTransport.

Methods inherited from class org.apache.xmlrpc.client.XmlRpcTransportFactoryImpl

getClient

Constructor Details

XmlRpcLiteHttpTransportFactory

public XmlRpcLiteHttpTransportFactory(XmlRpcClient pClient)
Creates a new instance.
Parameters:
pClient - The client, which will invoke the factory.

Method Details

getTransport

public XmlRpcTransport getTransport()
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.
Specified by:
getTransport in interface XmlRpcTransportFactory
Returns:
The configured transport.

Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.