org.apache.xmlrpc

Interface XmlRpcTransportFactory

Known Implementing Classes:
CommonsXmlRpcTransportFactory, DefaultXmlRpcTransportFactory, SunSSLTransportFactory

public interface XmlRpcTransportFactory

Interface from XML-RPC to an underlying transport, most likely base on HTTP.
Version:
$Id: XmlRpcTransportFactory.java 233919 2005-04-22 10:26:17Z hgomez $
Author:
Andrew Evers
Since:
1.2 Constructors for SSL implementations of XmlRpcTransportFactory should have a constructor with a signature defined by CONSTRUCTOR_SIGNATURE: ClassName(Properties properties) and use the default properties defined in this interface.

Field Summary

static Class[]
CONSTRUCTOR_SIGNATURE
static String
CONSTRUCTOR_SIGNATURE_STRING
static String
TRANSPORT_AUTH
static String
TRANSPORT_URL

Method Summary

XmlRpcTransport
createTransport()
Create a new XML-RPC transport.
void
setProperty(String propertyName, Object value)
Set a property for all newly created transports.

Field Details

CONSTRUCTOR_SIGNATURE

public static final Class[] CONSTRUCTOR_SIGNATURE

CONSTRUCTOR_SIGNATURE_STRING

public static final String CONSTRUCTOR_SIGNATURE_STRING

TRANSPORT_AUTH

public static final String TRANSPORT_AUTH

TRANSPORT_URL

public static final String TRANSPORT_URL

Method Details

createTransport

public XmlRpcTransport createTransport()
            throws XmlRpcClientException
Create a new XML-RPC transport.
Returns:
XmlRpcTransport an instance created according to the rules specified to the constructor.

setProperty

public void setProperty(String propertyName,
                        Object value)
Set a property for all newly created transports.
Parameters:
propertyName - the property to set.
value - the value to set it to.

Copyright B) 1999-2002 Apache Software Foundation. All Rights Reserved.