org.apache.xmlrpc.secure.sunssl
Class SunSSLTransportFactory

java.lang.Object
  extended by org.apache.xmlrpc.secure.sunssl.SunSSLTransportFactory
All Implemented Interfaces:
XmlRpcTransportFactory

public class SunSSLTransportFactory
extends java.lang.Object
implements XmlRpcTransportFactory

Interface from XML-RPC to the HTTPS transport based on the

Since:
1.2
Version:
$Id: SunSSLTransportFactory.html 359531 2005-12-28 13:59:25Z jochen $
Author:
Larry Meader, Chris Jackson, Andrew Evers
See Also:
class.

Field Summary
protected  java.lang.String auth
           
static java.lang.String TRANSPORT_HOSTNAMEVERIFIER
           
static java.lang.String TRANSPORT_TRUSTMANAGER
           
protected  java.net.URL url
           
 
Fields inherited from interface org.apache.xmlrpc.XmlRpcTransportFactory
CONSTRUCTOR_SIGNATURE, CONSTRUCTOR_SIGNATURE_STRING, TRANSPORT_AUTH, TRANSPORT_URL
 
Constructor Summary
SunSSLTransportFactory(java.util.Properties properties)
           
 
Method Summary
 XmlRpcTransport createTransport()
          Create a new XML-RPC transport.
static java.util.Properties getProperties()
           
 void setProperty(java.lang.String propertyName, java.lang.Object value)
          Set a property for all newly created transports.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

url

protected java.net.URL url

auth

protected java.lang.String auth

TRANSPORT_TRUSTMANAGER

public static final java.lang.String TRANSPORT_TRUSTMANAGER
See Also:
Constant Field Values

TRANSPORT_HOSTNAMEVERIFIER

public static final java.lang.String TRANSPORT_HOSTNAMEVERIFIER
See Also:
Constant Field Values
Constructor Detail

SunSSLTransportFactory

public SunSSLTransportFactory(java.util.Properties properties)
                       throws java.security.GeneralSecurityException
Throws:
java.security.GeneralSecurityException
Method Detail

getProperties

public static java.util.Properties getProperties()

createTransport

public XmlRpcTransport createTransport()
Description copied from interface: XmlRpcTransportFactory
Create a new XML-RPC transport.

Specified by:
createTransport in interface XmlRpcTransportFactory
Returns:
XmlRpcTransport an instance created according to the rules specified to the constructor.

setProperty

public void setProperty(java.lang.String propertyName,
                        java.lang.Object value)
Description copied from interface: XmlRpcTransportFactory
Set a property for all newly created transports.

Specified by:
setProperty in interface XmlRpcTransportFactory
Parameters:
propertyName - the property to set.
value - the value to set it to.


Copyright 2001-2001-2005 Apache Software Foundation. All Rights Reserved.