org.apache.xmlrpc
Class CommonsXmlRpcTransportFactory
java.lang.Object
org.apache.xmlrpc.CommonsXmlRpcTransportFactory
- XmlRpcTransportFactory
public class CommonsXmlRpcTransportFactory
extends java.lang.Object
A transport factory, which uses the Jakarta Commons
HttpClient.
connectionTimeout
private Integer connectionTimeout
timeout
private Integer timeout
CommonsXmlRpcTransportFactory
public CommonsXmlRpcTransportFactory(URL pURL)
Creates a new instance with the given server URL.
setBasicAuthentication
public void setBasicAuthentication(String pAuth)
setBasicAuthentication
public void setBasicAuthentication(String pUsername,
String pPassword)
setConnectionTimeout
public void setConnectionTimeout(int newConnectionTimeoutInMilliSeconds)
Sets the timeout until a connection is etablished. A timeout value of zero \
means the timeout is not used. The default value is zero.
newConnectionTimeoutInMilliSeconds
- timeout in milliseconds (ms)
org.apache.commons.httpclient.HttpClient.setConnectionTimeout
setTimeout
public void setTimeout(int newTimeoutInMilliSeconds)
Sets the socket timeout (SO_TIMEOUT) in milliseconds which is the
timeout for waiting for data. A timeout value of zero is interpreted as an
infinite timeout.
newTimeoutInMilliSeconds
- timeout in milliseconds (ms)
org.apache.commons.httpclient.HttpClient.setTimeout
Copyright B) 1999-2002 Apache Software Foundation. All Rights Reserved.