Package org.apache.xmlrpc.client
Class XmlRpcLite14HttpTransportFactory
- java.lang.Object
-
- org.apache.xmlrpc.client.XmlRpcTransportFactoryImpl
-
- org.apache.xmlrpc.client.XmlRpcLiteHttpTransportFactory
-
- org.apache.xmlrpc.client.XmlRpcLite14HttpTransportFactory
-
- All Implemented Interfaces:
XmlRpcTransportFactory
public class XmlRpcLite14HttpTransportFactory extends XmlRpcLiteHttpTransportFactory
Java 1.4 specific factory for the lite HTTP transport,XmlRpcLiteHttpTransport
.
-
-
Field Summary
Fields Modifier and Type Field Description private javax.net.ssl.SSLSocketFactory
sslSocketFactory
-
Constructor Summary
Constructors Constructor Description XmlRpcLite14HttpTransportFactory(XmlRpcClient pClient)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.net.ssl.SSLSocketFactory
getSSLSocketFactory()
Sets the SSL Socket Factory to use for https connections.XmlRpcTransport
getTransport()
Returns an instance ofXmlRpcTransport
.void
setSSLSocketFactory(javax.net.ssl.SSLSocketFactory pSSLSocketFactory)
Returns the SSL Socket Factory to use for https connections.-
Methods inherited from class org.apache.xmlrpc.client.XmlRpcTransportFactoryImpl
getClient
-
-
-
-
Constructor Detail
-
XmlRpcLite14HttpTransportFactory
public XmlRpcLite14HttpTransportFactory(XmlRpcClient pClient)
Creates a new instance.- Parameters:
pClient
- The client, which will invoke the factory.
-
-
Method Detail
-
getSSLSocketFactory
public javax.net.ssl.SSLSocketFactory getSSLSocketFactory()
Sets the SSL Socket Factory to use for https connections.
-
setSSLSocketFactory
public void setSSLSocketFactory(javax.net.ssl.SSLSocketFactory pSSLSocketFactory)
Returns the SSL Socket Factory to use for https connections.
-
getTransport
public XmlRpcTransport 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.- Specified by:
getTransport
in interfaceXmlRpcTransportFactory
- Overrides:
getTransport
in classXmlRpcLiteHttpTransportFactory
- Returns:
- The configured transport.
-
-