org.apache.xmlrpc
Class XmlRpcConfigImpl
java.lang.Object
org.apache.xmlrpc.XmlRpcConfigImpl
- XmlRpcConfig, XmlRpcHttpConfig, XmlRpcStreamConfig
public abstract class XmlRpcConfigImpl
extends java.lang.Object
setBasicEncoding
public void setBasicEncoding(String pEncoding)
Sets the encoding for basic authentication.
pEncoding
- The encoding; may be null, in which case
UTF-8 is choosen.
setContentLengthOptional
public void setContentLengthOptional(boolean pContentLengthOptional)
Sets, whether a "Content-Length" header may be
omitted. The XML-RPC specification demands, that such
a header be present.
pContentLengthOptional
- True, if the content length may be omitted.
setEnabledForExtensions
public void setEnabledForExtensions(boolean pExtensions)
Sets, whether extensions are enabled. By default, the
client or server is strictly compliant to the XML-RPC
specification and extensions are disabled.
pExtensions
- True to enable extensions, false otherwise.
setEncoding
public void setEncoding(String pEncoding)
Sets the requests encoding.
pEncoding
- The requests encoding or null (default
UTF-8).
setTimeZone
public void setTimeZone(TimeZone pTimeZone)
Returns the timezone, which is used to interpret date/time
values. Defaults to TimeZone.getDefault()
.
Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.