public class XmlRpcSun14HttpTransportFactory extends XmlRpcTransportFactoryImpl
HttpURLConnection
class.Constructor and Description |
---|
XmlRpcSun14HttpTransportFactory(XmlRpcClient pClient)
Creates a new factory, which creates transports for the given client.
|
Modifier and Type | Method and Description |
---|---|
SSLSocketFactory |
getSSLSocketFactory()
Returns the SSLSocketFactory to be used by transports.
|
XmlRpcTransport |
getTransport()
Returns an instance of
XmlRpcTransport . |
void |
setSSLSocketFactory(SSLSocketFactory pSocketFactory)
Sets the SSLSocketFactory to be used by transports.
|
getClient
public XmlRpcSun14HttpTransportFactory(XmlRpcClient pClient)
pClient
- The client, which is operating the factory.public void setSSLSocketFactory(SSLSocketFactory pSocketFactory)
pSocketFactory
- The SSLSocketFactory to use.public SSLSocketFactory getSSLSocketFactory()
public XmlRpcTransport getTransport()
XmlRpcTransportFactory
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.Copyright © 2001–2023 The Apache Software Foundation. All rights reserved.