Package org.apache.xmlrpc.client
Class XmlRpcSunHttpTransportFactory
java.lang.Object
org.apache.xmlrpc.client.XmlRpcTransportFactoryImpl
org.apache.xmlrpc.client.XmlRpcSunHttpTransportFactory
- All Implemented Interfaces:
XmlRpcTransportFactory
Default implementation of a HTTP transport factory, based on the
HttpURLConnection
class.-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new factory, which creates transports for the given client. -
Method Summary
Methods inherited from class org.apache.xmlrpc.client.XmlRpcTransportFactoryImpl
getClient
-
Constructor Details
-
XmlRpcSunHttpTransportFactory
Creates a new factory, which creates transports for the given client.- Parameters:
pClient
- The client, which is operating the factory.
-
-
Method Details
-
getTransport
Description copied from interface:XmlRpcTransportFactory
Returns an instance ofXmlRpcTransport
. 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.
-