Package org.apache.xmlrpc.client
Class XmlRpcSun14HttpTransportFactory
java.lang.Object
org.apache.xmlrpc.client.XmlRpcTransportFactoryImpl
org.apache.xmlrpc.client.XmlRpcSun14HttpTransportFactory
- All Implemented Interfaces:
XmlRpcTransportFactory
- Direct Known Subclasses:
XmlRpcSun15HttpTransportFactory
Default implementation of an HTTP transport factory in Java 1.4, based
on the
HttpURLConnection
class.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new factory, which creates transports for the given client. -
Method Summary
Modifier and TypeMethodDescriptionReturns the SSLSocketFactory to be used by transports.Returns an instance ofXmlRpcTransport
.void
setSSLSocketFactory
(SSLSocketFactory pSocketFactory) Sets the SSLSocketFactory to be used by transports.Methods inherited from class org.apache.xmlrpc.client.XmlRpcTransportFactoryImpl
getClient
-
Field Details
-
sslSocketFactory
-
-
Constructor Details
-
XmlRpcSun14HttpTransportFactory
Creates a new factory, which creates transports for the given client.- Parameters:
pClient
- The client, which is operating the factory.
-
-
Method Details
-
setSSLSocketFactory
Sets the SSLSocketFactory to be used by transports.- Parameters:
pSocketFactory
- The SSLSocketFactory to use.
-
getSSLSocketFactory
Returns the SSLSocketFactory to be used by transports. -
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.
-