org.apache.xmlrpc
Class XmlRpcClientLite
java.lang.Object
org.apache.xmlrpc.XmlRpcClient
org.apache.xmlrpc.XmlRpcClientLite
- All Implemented Interfaces:
- XmlRpcHandler
public class XmlRpcClientLite
- extends XmlRpcClient
A multithreaded, reusable XML-RPC client object. This version uses a homegrown
HTTP client which can be quite a bit faster than java.net.URLConnection, especially
when used with XmlRpc.setKeepAlive(true).
- Version:
- $Id: XmlRpcClientLite.html 359531 2005-12-28 13:59:25Z jochen $
- Author:
- Hannes Wallnoefer, Andrew Evers
Constructor Summary |
XmlRpcClientLite(java.lang.String url)
Construct a XML-RPC client for the URL represented by this String. |
XmlRpcClientLite(java.lang.String hostname,
int port)
Construct a XML-RPC client for the specified hostname and port. |
XmlRpcClientLite(java.net.URL url)
Construct a XML-RPC client with this URL. |
Methods inherited from class org.apache.xmlrpc.XmlRpcClient |
dequeue, enqueue, execute, execute, execute, executeAsync, executeAsync, executeAsync, getMaxThreads, getTimeZone, getURL, getWorker, releaseWorker, setBasicAuthentication, setMaxThreads, setTimeZone |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlRpcClientLite
public XmlRpcClientLite(java.net.URL url)
- Construct a XML-RPC client with this URL.
XmlRpcClientLite
public XmlRpcClientLite(java.lang.String url)
throws java.net.MalformedURLException
- Construct a XML-RPC client for the URL represented by this String.
- Throws:
java.net.MalformedURLException
XmlRpcClientLite
public XmlRpcClientLite(java.lang.String hostname,
int port)
throws java.net.MalformedURLException
- Construct a XML-RPC client for the specified hostname and port.
- Throws:
java.net.MalformedURLException
createTransport
protected XmlRpcTransport createTransport()
- Overrides:
createTransport
in class XmlRpcClient
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Just for testing.
- Throws:
java.lang.Exception
Copyright 2001-2001-2005 Apache Software Foundation. All Rights Reserved.