org.apache.xmlrpc.client
Class XmlRpcCommonsTransportFactory

java.lang.Object
  extended by org.apache.xmlrpc.client.XmlRpcTransportFactoryImpl
      extended by org.apache.xmlrpc.client.XmlRpcCommonsTransportFactory
All Implemented Interfaces:
XmlRpcTransportFactory

public class XmlRpcCommonsTransportFactory
extends XmlRpcTransportFactoryImpl

An HTTP transport factory, which is based on the Jakarta Commons HTTP Client.


Constructor Summary
XmlRpcCommonsTransportFactory(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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlRpcCommonsTransportFactory

public XmlRpcCommonsTransportFactory(XmlRpcClient pClient)
Creates a new instance.

Parameters:
pClient - The client, which is controlling the factory.
Method Detail

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-2008 Apache Software Foundation. All Rights Reserved.