org.apache.xmlrpc.client
Class XmlRpcSunHttpTransportFactory

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

public class XmlRpcSunHttpTransportFactory
extends XmlRpcTransportFactoryImpl

Default implementation of a HTTP transport factory, based on the HttpURLConnection class.


Field Summary
private  XmlRpcSunHttpTransport HTTP_TRANSPORT
           
 
Constructor Summary
XmlRpcSunHttpTransportFactory(XmlRpcClient pClient)
          Creates a new factory, which creates transports for the given client.
 
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
 

Field Detail

HTTP_TRANSPORT

private final XmlRpcSunHttpTransport HTTP_TRANSPORT
Constructor Detail

XmlRpcSunHttpTransportFactory

public XmlRpcSunHttpTransportFactory(XmlRpcClient pClient)
Creates a new factory, which creates transports for the given client.

Parameters:
pClient - The client, which is operating 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.