org.apache.xmlrpc

Class XmlRpcClientLite

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.java 233919 2005-04-22 10:26:17Z hgomez $

Author: Hannes Wallnoefer Andrew Evers

Constructor Summary
XmlRpcClientLite(URL url)
Construct a XML-RPC client with this URL.
XmlRpcClientLite(String url)
Construct a XML-RPC client for the URL represented by this String.
XmlRpcClientLite(String hostname, int port)
Construct a XML-RPC client for the specified hostname and port.
Method Summary
protected XmlRpcTransportcreateTransport()
static voidmain(String[] args)
Just for testing.

Constructor Detail

XmlRpcClientLite

public XmlRpcClientLite(URL url)
Construct a XML-RPC client with this URL.

XmlRpcClientLite

public XmlRpcClientLite(String url)
Construct a XML-RPC client for the URL represented by this String.

XmlRpcClientLite

public XmlRpcClientLite(String hostname, int port)
Construct a XML-RPC client for the specified hostname and port.

Method Detail

createTransport

protected XmlRpcTransport createTransport()

main

public static void main(String[] args)
Just for testing.
Copyright B) 1999-2002 Apache Software Foundation. All Rights Reserved.