org.apache.xmlrpc.secure
Class SecureXmlRpcClient

java.lang.Object
  extended by org.apache.xmlrpc.XmlRpcClient
      extended by 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.


Field Summary
 
Fields inherited from class org.apache.xmlrpc.XmlRpcClient
asyncWorkers, pool, transportFactory, 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
createTransport, execute, execute, execute, executeAsync, executeAsync, executeAsync, getMaxThreads, getTimeZone, getURL, setBasicAuthentication, setMaxThreads, setTimeZone
 
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.

Throws:
java.net.MalformedURLException

SecureXmlRpcClient

public SecureXmlRpcClient(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
Method Detail

setup

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

Throws:
java.lang.Exception

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.