org.apache.xmlrpc.client
Class XmlRpcClientConfigImpl

java.lang.Object
  extended byorg.apache.xmlrpc.XmlRpcConfigImpl
      extended byorg.apache.xmlrpc.common.XmlRpcHttpRequestConfigImpl
          extended byorg.apache.xmlrpc.client.XmlRpcClientConfigImpl
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable, XmlRpcClientConfig, XmlRpcConfig, XmlRpcHttpClientConfig, XmlRpcHttpConfig, XmlRpcHttpRequestConfig, XmlRpcLocalClientConfig, XmlRpcRequestConfig, XmlRpcRequestProcessorFactory, XmlRpcStreamConfig, XmlRpcStreamRequestConfig

public class XmlRpcClientConfigImpl
extends XmlRpcHttpRequestConfigImpl
implements XmlRpcHttpClientConfig, XmlRpcLocalClientConfig, java.lang.Cloneable, java.io.Serializable

Default implementation of a clients request configuration.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.apache.xmlrpc.common.XmlRpcStreamConfig
UTF8_ENCODING
 
Constructor Summary
XmlRpcClientConfigImpl()
          Creates a new client configuration with default settings.
 
Method Summary
 XmlRpcClientConfigImpl cloneMe()
          Creates a clone of this client configuration.
 java.net.URL getServerURL()
          Returns the HTTP servers URL.
 XmlRpcRequestProcessor getXmlRpcServer()
          Returns the XmlRpcRequestProcessor being invoked.
 void setServerURL(java.net.URL pURL)
          Sets the servers URL.
 void setXmlRpcServer(XmlRpcRequestProcessor pServer)
          Returns the XmlRpcRequestProcessor being invoked.
 
Methods inherited from class org.apache.xmlrpc.common.XmlRpcHttpRequestConfigImpl
getBasicPassword, getBasicUserName, getConnectionTimeout, getReplyTimeout, isGzipCompressing, isGzipRequesting, setBasicPassword, setBasicUserName, setConnectionTimeout, setGzipCompressing, setGzipRequesting, setReplyTimeout
 
Methods inherited from class org.apache.xmlrpc.XmlRpcConfigImpl
getBasicEncoding, getEncoding, getTimeZone, isContentLengthOptional, isEnabledForExtensions, setBasicEncoding, setContentLengthOptional, setEnabledForExtensions, setEncoding, setTimeZone
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.xmlrpc.common.XmlRpcHttpRequestConfig
getBasicPassword, getBasicUserName, getConnectionTimeout, getReplyTimeout
 
Methods inherited from interface org.apache.xmlrpc.common.XmlRpcStreamRequestConfig
isGzipCompressing, isGzipRequesting
 
Methods inherited from interface org.apache.xmlrpc.common.XmlRpcStreamConfig
getEncoding
 
Methods inherited from interface org.apache.xmlrpc.XmlRpcConfig
getTimeZone, isEnabledForExtensions
 
Methods inherited from interface org.apache.xmlrpc.common.XmlRpcHttpConfig
getBasicEncoding, isContentLengthOptional
 

Constructor Detail

XmlRpcClientConfigImpl

public XmlRpcClientConfigImpl()
Creates a new client configuration with default settings.

Method Detail

cloneMe

public XmlRpcClientConfigImpl cloneMe()
Creates a clone of this client configuration.

Returns:
A clone of this configuration.

setServerURL

public void setServerURL(java.net.URL pURL)
Sets the servers URL.

Parameters:
pURL - Servers URL

getServerURL

public java.net.URL getServerURL()
Description copied from interface: XmlRpcHttpClientConfig
Returns the HTTP servers URL.

Specified by:
getServerURL in interface XmlRpcHttpClientConfig
Returns:
XML-RPC servers URL; for example, this may be the URL of a servlet

setXmlRpcServer

public void setXmlRpcServer(XmlRpcRequestProcessor pServer)
Returns the XmlRpcRequestProcessor being invoked.

Parameters:
pServer - Server object being invoked. This will typically be a singleton instance, but could as well create a new instance with any call.

getXmlRpcServer

public XmlRpcRequestProcessor getXmlRpcServer()
Description copied from interface: XmlRpcRequestProcessorFactory
Returns the XmlRpcRequestProcessor being invoked.

Specified by:
getXmlRpcServer in interface XmlRpcRequestProcessorFactory
Returns:
Server object being invoked. This will typically be a singleton instance, but could as well create a new instance with any call.


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