|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.dfki.util.xmlrpc.common.XmlRpcConnection
public class XmlRpcConnection
Virtual connection to a XML-RPC server. Actually the connection will be opened when a method is called.
Nested Class Summary | |
---|---|
static class |
XmlRpcConnection.Id
Identifies XML-RPC connections. |
Constructor Summary | |
---|---|
protected |
XmlRpcConnection(org.apache.xmlrpc.XmlRpcClient conn)
|
Method Summary | |
---|---|
static XmlRpcConnection |
connect(java.lang.String urlAsString)
Deprecated. use create(String) instead. |
static XmlRpcConnection |
connect(java.lang.String host,
int port)
Deprecated. use create(String, int) instead. |
static XmlRpcConnection |
connect(java.lang.String host,
int port,
java.lang.String path)
Deprecated. use create(String, int, String) instead. |
static XmlRpcConnection |
connect(java.net.URL url)
Deprecated. use create(URL) instead. |
static XmlRpcConnection |
connect(XmlRpcConnection.Id connId)
Deprecated. use create(Id) instead. |
static XmlRpcConnection |
create(java.lang.String urlAsString)
Creates a connection object to a URL (in String representation) |
static XmlRpcConnection |
create(java.lang.String host,
int port)
Creates a connection object to http://[host]:[port]/RPC2 |
static XmlRpcConnection |
create(java.lang.String host,
int port,
java.lang.String path)
Creates a connection object to http://[host]:[port]/[path] |
static XmlRpcConnection |
create(java.net.URL url)
Creates a connection object to a URL |
static XmlRpcConnection |
create(XmlRpcConnection.Id connId)
|
java.lang.Object |
invoke(MethodCall methodCall)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected XmlRpcConnection(org.apache.xmlrpc.XmlRpcClient conn)
Method Detail |
---|
@Deprecated public static XmlRpcConnection connect(XmlRpcConnection.Id connId)
create(Id)
instead.
@Deprecated public static XmlRpcConnection connect(java.lang.String host, int port)
create(String, int)
instead.
http://[host]:[port]/RPC2
@Deprecated public static XmlRpcConnection connect(java.lang.String host, int port, java.lang.String path)
create(String, int, String)
instead.
http://[host]:[port]/[path]
@Deprecated public static XmlRpcConnection connect(java.lang.String urlAsString) throws java.net.MalformedURLException
create(String)
instead.
java.net.MalformedURLException
@Deprecated public static XmlRpcConnection connect(java.net.URL url)
create(URL)
instead.
public static XmlRpcConnection create(XmlRpcConnection.Id connId)
public static XmlRpcConnection create(java.lang.String host, int port)
http://[host]:[port]/RPC2
public static XmlRpcConnection create(java.lang.String host, int port, java.lang.String path)
http://[host]:[port]/[path]
public static XmlRpcConnection create(java.lang.String urlAsString) throws java.net.MalformedURLException
java.net.MalformedURLException
public static XmlRpcConnection create(java.net.URL url)
public java.lang.Object invoke(MethodCall methodCall) throws java.lang.Exception, java.io.IOException, MethodCallParameterException
java.lang.Exception
java.io.IOException
MethodCallParameterException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |