org.apache.xmlrpc
public class CommonsXmlRpcTransportFactory extends Object implements XmlRpcTransportFactory
Field Summary | |
---|---|
String | auth |
Integer | connectionTimeout |
Integer | timeout |
URL | url |
Constructor Summary | |
---|---|
CommonsXmlRpcTransportFactory(URL pURL) Creates a new instance with the given server URL. |
Method Summary | |
---|---|
XmlRpcTransport | createTransport() |
void | setBasicAuthentication(String pAuth)
Sets Authentication for this client. |
void | setBasicAuthentication(String pUsername, String pPassword)
Sets Authentication for this client. |
void | setConnectionTimeout(int newConnectionTimeoutInMilliSeconds)
Sets the timeout until a connection is etablished. |
void | setProperty(String propertyName, Object value) |
void | setTimeout(int newTimeoutInMilliSeconds)
Sets the socket timeout (SO_TIMEOUT) in milliseconds which is the
timeout for waiting for data. |
Parameters: newConnectionTimeoutInMilliSeconds timeout in milliseconds (ms)
See Also: org.apache.commons.httpclient.HttpClient#setConnectionTimeout
Parameters: newTimeoutInMilliSeconds timeout in milliseconds (ms)
See Also: org.apache.commons.httpclient.HttpClient#setTimeout