org.apache.xmlrpc.secure

Class SecureXmlRpcClient

Implemented Interfaces:
XmlRpcHandler

public class SecureXmlRpcClient
extends XmlRpcClient

A multithreaded, reusable XML-RPC client object. Use this if you need a full-grown HTTP client (e.g. for Proxy and Cookies support). If you don't need that, XmlRpcClientLite may work better for you.

Nested Class Summary

Nested classes/interfaces inherited from class org.apache.xmlrpc.XmlRpcClient

XmlRpcClient.CallData, XmlRpcClient.XmlRpcClientAsyncThread

Field Summary

Fields inherited from class org.apache.xmlrpc.XmlRpcClient

asyncWorkers, first, last, maxThreads, pool, storedPassword, storedUser, transportFactory, tz, url, workers

Constructor Summary

SecureXmlRpcClient(String url)
Construct a XML-RPC client for the URL represented by this String.
SecureXmlRpcClient(String hostname, int port)
Construct a XML-RPC client for the specified hostname and port.
SecureXmlRpcClient(URL url)
Construct a XML-RPC client with this URL.

Method Summary

static void
main(args[] )
Just for testing.
void
setup()
This allows us to setup

Methods inherited from class org.apache.xmlrpc.XmlRpcClient

createDefaultTransport, createTransport, dequeue, enqueue, execute, execute, execute, executeAsync, executeAsync, executeAsync, getMaxThreads, getTimeZone, getURL, getWorker, main, releaseWorker, setBasicAuthentication, setMaxThreads, setTimeZone

Constructor Details

SecureXmlRpcClient

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

SecureXmlRpcClient

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

SecureXmlRpcClient

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

Method Details

main

public static void main(args[] )
            throws Exception
Just for testing.
Overrides:
main in interface XmlRpcClient

setup

public void setup()
            throws Exception
This allows us to setup

Copyright B) 1999-2002 Apache Software Foundation. All Rights Reserved.