org.apache.xmlrpc.client

Class XmlRpcClientConfigImpl

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

Default implementation of a clients request configuration.
Constructor Summary
XmlRpcClientConfigImpl()
Creates a new client configuration with default settings.
Method Summary
XmlRpcClientConfigImplcloneMe()
Creates a clone of this client configuration.
URLgetServerURL()
XmlRpcRequestProcessorgetXmlRpcServer()
voidsetServerURL(URL pURL)
Sets the servers URL.
voidsetXmlRpcServer(XmlRpcRequestProcessor pServer)
Returns the {@link XmlRpcRequestProcessor} being invoked.

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.

getServerURL

public URL getServerURL()

getXmlRpcServer

public XmlRpcRequestProcessor getXmlRpcServer()

setServerURL

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

Parameters: pURL Servers URL

setXmlRpcServer

public void setXmlRpcServer(XmlRpcRequestProcessor pServer)
Returns the {@link 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.