org.apache.xmlrpc
Interface XmlRpcTransportFactory

All Known Implementing Classes:
CommonsXmlRpcTransportFactory, DefaultXmlRpcTransportFactory, SunSSLTransportFactory

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.html 359531 2005-12-28 13:59:25Z jochen $
Author:
Andrew Evers

Field Summary
static java.lang.Class[] CONSTRUCTOR_SIGNATURE
           
static java.lang.String CONSTRUCTOR_SIGNATURE_STRING
           
static java.lang.String TRANSPORT_AUTH
           
static java.lang.String TRANSPORT_URL
           
 
Method Summary
 XmlRpcTransport createTransport()
          Create a new XML-RPC transport.
 void setProperty(java.lang.String propertyName, java.lang.Object value)
          Set a property for all newly created transports.
 

Field Detail

TRANSPORT_URL

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

TRANSPORT_AUTH

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

CONSTRUCTOR_SIGNATURE

static final java.lang.Class[] CONSTRUCTOR_SIGNATURE

CONSTRUCTOR_SIGNATURE_STRING

static final java.lang.String CONSTRUCTOR_SIGNATURE_STRING
See Also:
Constant Field Values
Method Detail

createTransport

XmlRpcTransport createTransport()
                                throws XmlRpcClientException
Create a new XML-RPC transport.

Returns:
XmlRpcTransport an instance created according to the rules specified to the constructor.
Throws:
XmlRpcClientException

setProperty

void setProperty(java.lang.String propertyName,
                 java.lang.Object value)
Set a property for all newly created transports.

Parameters:
propertyName - the property to set.
value - the value to set it to.


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