org.rhq.enterprise.server.plugins.rhnhosted.xmlrpc
Class RhnSSLTransportFactory
java.lang.Object
org.apache.xmlrpc.client.XmlRpcTransportFactoryImpl
org.apache.xmlrpc.client.XmlRpcSun14HttpTransportFactory
org.apache.xmlrpc.client.XmlRpcSun15HttpTransportFactory
org.rhq.enterprise.server.plugins.rhnhosted.xmlrpc.RhnSSLTransportFactory
- All Implemented Interfaces:
- org.apache.xmlrpc.client.XmlRpcTransportFactory
- Direct Known Subclasses:
- CustomReqPropTransportFactory
public class RhnSSLTransportFactory
- extends org.apache.xmlrpc.client.XmlRpcSun15HttpTransportFactory
|
Constructor Summary |
RhnSSLTransportFactory(org.apache.xmlrpc.client.XmlRpcClient pClient)
Creates a new factory, which creates transports for the given client. |
| Methods inherited from class org.apache.xmlrpc.client.XmlRpcSun15HttpTransportFactory |
setProxy, setProxy |
| Methods inherited from class org.apache.xmlrpc.client.XmlRpcSun14HttpTransportFactory |
getSSLSocketFactory, setSSLSocketFactory |
| 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 |
sslCertPath
protected String sslCertPath
RhnSSLTransportFactory
public RhnSSLTransportFactory(org.apache.xmlrpc.client.XmlRpcClient pClient)
- Creates a new factory, which creates transports for the given client.
- Parameters:
pClient - The client, which is operating the factory.
newTransportInstance
protected RhnSSLTransport newTransportInstance()
- Override to specify a different Transport
setSSLCert
public void setSSLCert(String certPath)
getSSLCert
public String getSSLCert(String certPath)
getProxy
protected Proxy getProxy()
- We can't access the proxy member directly from our super class
so we are grabbing it from the transport instance.
Would prefer if XmlRpcSun15HttpTransportFactory had a getProxy method
getTransport
public org.apache.xmlrpc.client.XmlRpcTransport getTransport()
- Specified by:
getTransport in interface org.apache.xmlrpc.client.XmlRpcTransportFactory- Overrides:
getTransport in class org.apache.xmlrpc.client.XmlRpcSun15HttpTransportFactory
Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.