org.apache.xmlrpc

Interface XmlRpcTransportFactory

public interface XmlRpcTransportFactory

Interface from XML-RPC to an underlying transport, most likely base on HTTP.

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.

Version: $Id: XmlRpcTransportFactory.java 233919 2005-04-22 10:26:17Z hgomez $

Author: Andrew Evers

Field Summary
static Class[]CONSTRUCTOR_SIGNATURE
static StringCONSTRUCTOR_SIGNATURE_STRING
static StringTRANSPORT_AUTH
static StringTRANSPORT_URL
Method Summary
XmlRpcTransportcreateTransport()
Create a new XML-RPC transport.
voidsetProperty(String propertyName, Object value)
Set a property for all newly created transports.

Field Detail

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 Detail

createTransport

public XmlRpcTransport createTransport()
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.