|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xmlrpc.DefaultXmlRpcTransportFactory
public class DefaultXmlRpcTransportFactory
Default XML-RPC transport factory, produces HTTP, HTTPS with SSL or TLS based on URI protocol.
Field Summary | |
---|---|
protected java.lang.String |
auth
|
static java.lang.String |
DEFAULT_HTTPS_PROVIDER
|
protected XmlRpcTransportFactory |
httpsTransportFactory
|
protected java.net.URL |
url
|
Fields inherited from interface org.apache.xmlrpc.XmlRpcTransportFactory |
---|
CONSTRUCTOR_SIGNATURE, CONSTRUCTOR_SIGNATURE_STRING, TRANSPORT_AUTH, TRANSPORT_URL |
Constructor Summary | |
---|---|
DefaultXmlRpcTransportFactory(java.net.URL url)
|
|
DefaultXmlRpcTransportFactory(java.net.URL url,
java.lang.String auth)
Deprecated. use setBasicAuthentication method instead |
Method Summary | |
---|---|
XmlRpcTransport |
createTransport()
Create a new XML-RPC transport. |
static XmlRpcTransportFactory |
createTransportFactory(java.lang.String transport,
java.util.Properties properties)
|
void |
setBasicAuthentication(java.lang.String user,
java.lang.String password)
Sets Authentication for this client. |
void |
setHTTPSTransport(java.lang.String transport,
java.util.Properties properties)
|
void |
setProperty(java.lang.String propertyName,
java.lang.Object value)
Set a property for all newly created transports. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.net.URL url
protected java.lang.String auth
protected XmlRpcTransportFactory httpsTransportFactory
public static final java.lang.String DEFAULT_HTTPS_PROVIDER
Constructor Detail |
---|
public DefaultXmlRpcTransportFactory(java.net.URL url)
public DefaultXmlRpcTransportFactory(java.net.URL url, java.lang.String auth)
Method Detail |
---|
public void setHTTPSTransport(java.lang.String transport, java.util.Properties properties) throws XmlRpcClientException
XmlRpcClientException
public static XmlRpcTransportFactory createTransportFactory(java.lang.String transport, java.util.Properties properties) throws XmlRpcClientException
XmlRpcClientException
public XmlRpcTransport createTransport() throws XmlRpcClientException
XmlRpcTransportFactory
createTransport
in interface XmlRpcTransportFactory
XmlRpcClientException
public void setBasicAuthentication(java.lang.String user, java.lang.String password)
public void setProperty(java.lang.String propertyName, java.lang.Object value)
XmlRpcTransportFactory
setProperty
in interface XmlRpcTransportFactory
propertyName
- 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 |