org.apache.xmlrpc.secure
Class SecureXmlRpcClient

java.lang.Object
  |
  +--org.apache.xmlrpc.XmlRpcClient
        |
        +--org.apache.xmlrpc.secure.SecureXmlRpcClient
All 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.


Fields inherited from class org.apache.xmlrpc.XmlRpcClient
asyncWorkers, pool, url, workers
 
Constructor Summary
SecureXmlRpcClient(java.lang.String url)
          Construct a XML-RPC client for the URL represented by this String.
SecureXmlRpcClient(java.lang.String hostname, int port)
          Construct a XML-RPC client for the specified hostname and port.
SecureXmlRpcClient(java.net.URL url)
          Construct a XML-RPC client with this URL.
 
Method Summary
static void main(java.lang.String[] args)
          Just for testing.
 void setup()
          This allows us to setup
 
Methods inherited from class org.apache.xmlrpc.XmlRpcClient
execute, executeAsync, getURL, setBasicAuthentication
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecureXmlRpcClient

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

SecureXmlRpcClient

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

SecureXmlRpcClient

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

setup

public void setup()
           throws java.lang.Exception
This allows us to setup

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Just for testing.


Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.