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.


Inner classes inherited from class org.apache.xmlrpc.XmlRpcClient
XmlRpcClient.CallData, XmlRpcClient.Worker
 
Fields inherited from class org.apache.xmlrpc.XmlRpcClient
asyncWorkers, auth, first, last, maxThreads, 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)
          This allows us to setup public void setup() throws Exception { SecurityTool.setup(); } /** Just for testing.
 
Methods inherited from class org.apache.xmlrpc.XmlRpcClient
dequeue, enqueue, execute, executeAsync, getURL, getWorker, releaseWorker, setBasicAuthentication
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, 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

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
This allows us to setup public void setup() throws Exception { SecurityTool.setup(); } /** Just for testing.


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