Package org.astrogrid.samp.xmlrpc.apache
Class ApacheClientFactory
- java.lang.Object
-
- org.astrogrid.samp.xmlrpc.apache.ApacheClientFactory
-
- All Implemented Interfaces:
SampXmlRpcClientFactory
public class ApacheClientFactory extends java.lang.Object implements SampXmlRpcClientFactory
SampXmlRpcClientFactory implementation based on Apache XMLRPC classes.- Since:
- 16 Sep 2008
- Author:
- Mark Taylor
-
-
Constructor Summary
Constructors Constructor Description ApacheClientFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SampXmlRpcClient
createClient(java.net.URL endpoint)
Returns an XML-RPC client implementation.
-
-
-
Method Detail
-
createClient
public SampXmlRpcClient createClient(java.net.URL endpoint) throws java.io.IOException
Description copied from interface:SampXmlRpcClientFactory
Returns an XML-RPC client implementation.- Specified by:
createClient
in interfaceSampXmlRpcClientFactory
- Parameters:
endpoint
- XML-RPC server endpoint- Returns:
- client which can communicate with the given endpoint
- Throws:
java.io.IOException
-
-