public class XmlRpcClientConfigImpl extends XmlRpcHttpRequestConfigImpl implements XmlRpcHttpClientConfig, XmlRpcLocalClientConfig, Cloneable, Serializable
UTF8_ENCODING
Constructor and Description |
---|
XmlRpcClientConfigImpl()
Creates a new client configuration with default settings.
|
Modifier and Type | Method and Description |
---|---|
XmlRpcClientConfigImpl |
cloneMe()
Creates a clone of this client configuration.
|
URL |
getServerURL()
Returns the HTTP servers URL.
|
String |
getUserAgent()
Returns the user agent header to use
|
XmlRpcRequestProcessor |
getXmlRpcServer()
Returns the
XmlRpcRequestProcessor being invoked. |
void |
setServerURL(URL pURL)
Sets the servers URL.
|
void |
setUserAgent(String pUserAgent) |
void |
setXmlRpcServer(XmlRpcRequestProcessor pServer)
Returns the
XmlRpcRequestProcessor being invoked. |
getBasicPassword, getBasicUserName, getConnectionTimeout, getReplyTimeout, isEnabledForExceptions, isGzipCompressing, isGzipRequesting, setBasicPassword, setBasicUserName, setConnectionTimeout, setEnabledForExceptions, setGzipCompressing, setGzipRequesting, setReplyTimeout
getBasicEncoding, getEncoding, getTimeZone, isContentLengthOptional, isEnabledForExtensions, setBasicEncoding, setContentLengthOptional, setEnabledForExtensions, setEncoding, setTimeZone
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBasicPassword, getBasicUserName, getConnectionTimeout, getReplyTimeout
isEnabledForExceptions, isGzipCompressing, isGzipRequesting
getBasicEncoding, isContentLengthOptional
getEncoding
getTimeZone, isEnabledForExtensions
public XmlRpcClientConfigImpl()
public XmlRpcClientConfigImpl cloneMe()
public void setServerURL(URL pURL)
pURL
- Servers URLpublic URL getServerURL()
XmlRpcHttpClientConfig
getServerURL
in interface XmlRpcHttpClientConfig
public void setXmlRpcServer(XmlRpcRequestProcessor pServer)
XmlRpcRequestProcessor
being invoked.pServer
- Server object being invoked. This will typically
be a singleton instance, but could as well create a new
instance with any call.public XmlRpcRequestProcessor getXmlRpcServer()
XmlRpcRequestProcessorFactory
XmlRpcRequestProcessor
being invoked.getXmlRpcServer
in interface XmlRpcRequestProcessorFactory
public String getUserAgent()
getUserAgent
in interface XmlRpcHttpClientConfig
public void setUserAgent(String pUserAgent)
pUserAgent
- the http user agent header to set when doing xmlrpc requestsCopyright © 2001–2016 The Apache Software Foundation. All rights reserved.