org.apache.xmlrpc.client
Class XmlRpcClientConfigImpl
java.lang.Object
org.apache.xmlrpc.XmlRpcConfigImpl
org.apache.xmlrpc.common.XmlRpcHttpRequestConfigImpl
org.apache.xmlrpc.client.XmlRpcClientConfigImpl
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, XmlRpcClientConfig, XmlRpcHttpClientConfig, XmlRpcLocalClientConfig, org.apache.xmlrpc.common.XmlRpcHttpConfig, org.apache.xmlrpc.common.XmlRpcHttpRequestConfig, org.apache.xmlrpc.common.XmlRpcRequestProcessorFactory, org.apache.xmlrpc.common.XmlRpcStreamConfig, org.apache.xmlrpc.common.XmlRpcStreamRequestConfig, org.apache.xmlrpc.XmlRpcConfig, org.apache.xmlrpc.XmlRpcRequestConfig
public class XmlRpcClientConfigImpl
- extends org.apache.xmlrpc.common.XmlRpcHttpRequestConfigImpl
- implements XmlRpcHttpClientConfig, XmlRpcLocalClientConfig, java.lang.Cloneable, java.io.Serializable
Default implementation of a clients request configuration.
- See Also:
- Serialized Form
Fields inherited from interface org.apache.xmlrpc.common.XmlRpcStreamConfig |
UTF8_ENCODING |
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 |
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 |
isEnabledForExceptions, isGzipCompressing, isGzipRequesting |
Methods inherited from interface org.apache.xmlrpc.common.XmlRpcHttpConfig |
getBasicEncoding, isContentLengthOptional |
Methods inherited from interface org.apache.xmlrpc.common.XmlRpcStreamConfig |
getEncoding |
Methods inherited from interface org.apache.xmlrpc.XmlRpcConfig |
getTimeZone, isEnabledForExtensions |
XmlRpcClientConfigImpl
public XmlRpcClientConfigImpl()
- Creates a new client configuration with default settings.
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(org.apache.xmlrpc.common.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 org.apache.xmlrpc.common.XmlRpcRequestProcessor getXmlRpcServer()
- Specified by:
getXmlRpcServer
in interface org.apache.xmlrpc.common.XmlRpcRequestProcessorFactory
Copyright © 2001-2007 The Apache Software Foundation. All Rights Reserved.