|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xmlrpc.CommonsXmlRpcTransportFactory
public class CommonsXmlRpcTransportFactory
A transport factory, which uses the Jakarta Commons HttpClient.
| Field Summary |
|---|
| Fields inherited from interface org.apache.xmlrpc.XmlRpcTransportFactory |
|---|
CONSTRUCTOR_SIGNATURE, CONSTRUCTOR_SIGNATURE_STRING, TRANSPORT_AUTH, TRANSPORT_URL |
| Constructor Summary | |
|---|---|
CommonsXmlRpcTransportFactory(java.net.URL pURL)
Creates a new instance with the given server URL. |
|
| Method Summary | |
|---|---|
XmlRpcTransport |
createTransport()
Create a new XML-RPC transport. |
void |
setBasicAuthentication(java.lang.String pAuth)
Sets Authentication for this client. |
void |
setBasicAuthentication(java.lang.String pUsername,
java.lang.String pPassword)
Sets Authentication for this client. |
void |
setConnectionTimeout(int newConnectionTimeoutInMilliSeconds)
Sets the timeout until a connection is etablished. |
void |
setProperty(java.lang.String propertyName,
java.lang.Object value)
Set a property for all newly created transports. |
void |
setTimeout(int newTimeoutInMilliSeconds)
Sets the socket timeout (SO_TIMEOUT) in milliseconds which is the timeout for waiting for data. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CommonsXmlRpcTransportFactory(java.net.URL pURL)
| Method Detail |
|---|
public XmlRpcTransport createTransport()
throws XmlRpcClientException
XmlRpcTransportFactory
createTransport in interface XmlRpcTransportFactoryXmlRpcClientExceptionpublic void setBasicAuthentication(java.lang.String pAuth)
public void setBasicAuthentication(java.lang.String pUsername,
java.lang.String pPassword)
public void setTimeout(int newTimeoutInMilliSeconds)
newTimeoutInMilliSeconds - timeout in milliseconds (ms)HttpClient.setTimeout(int)public void setConnectionTimeout(int newConnectionTimeoutInMilliSeconds)
newConnectionTimeoutInMilliSeconds - timeout in milliseconds (ms)HttpClient.setConnectionTimeout(int)
public void setProperty(java.lang.String propertyName,
java.lang.Object value)
XmlRpcTransportFactory
setProperty in interface XmlRpcTransportFactorypropertyName - the property to set.value - the value to set it to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||