org.apache.xmlrpc.client

Class XmlRpcClientConfigImpl

Implemented Interfaces:
Cloneable, Serializable, XmlRpcClientConfig, XmlRpcConfig, XmlRpcHttpClientConfig, XmlRpcHttpConfig, XmlRpcHttpRequestConfig, XmlRpcLocalClientConfig, XmlRpcRequestConfig, XmlRpcRequestProcessorFactory, XmlRpcStreamConfig, XmlRpcStreamRequestConfig

public class XmlRpcClientConfigImpl
extends XmlRpcHttpRequestConfigImpl
implements XmlRpcHttpClientConfig, XmlRpcLocalClientConfig, Cloneable, Serializable

Default implementation of a clients request configuration.

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.
URL
getServerURL()
XmlRpcRequestProcessor
getXmlRpcServer()
void
setServerURL(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, isEnabledForExceptions, isGzipCompressing, isGzipRequesting, setBasicPassword, setBasicUserName, setConnectionTimeout, setEnabledForExceptions, setGzipCompressing, setGzipRequesting, setReplyTimeout

Methods inherited from class org.apache.xmlrpc.XmlRpcConfigImpl

getBasicEncoding, getEncoding, getTimeZone, isContentLengthOptional, isEnabledForExtensions, setBasicEncoding, setContentLengthOptional, setEnabledForExtensions, setEncoding, setTimeZone

Constructor Details

XmlRpcClientConfigImpl

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

Method Details

cloneMe

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

getServerURL

public URL getServerURL()
Specified by:
getServerURL in interface XmlRpcHttpClientConfig

getXmlRpcServer

public XmlRpcRequestProcessor getXmlRpcServer()
Specified by:
getXmlRpcServer in interface XmlRpcRequestProcessorFactory

setServerURL

public void setServerURL(URL pURL)
Sets the servers URL.
Parameters:
pURL - Servers URL

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.

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