public abstract class XmlRpcConfigImpl extends Object implements XmlRpcConfig, XmlRpcHttpConfig
XmlRpcConfig.UTF8_ENCODING| Constructor and Description |
|---|
XmlRpcConfigImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBasicEncoding()
Returns the encoding being used to convert the String "username:password"
into bytes.
|
String |
getEncoding()
Returns the encoding being used for data encoding, when writing
to a stream.
|
TimeZone |
getTimeZone()
Returns the timezone, which is used to interpret date/time
values.
|
boolean |
isContentLengthOptional()
Returns, whether a "Content-Length" header may be
omitted.
|
boolean |
isEnabledForExtensions()
Returns, whether support for extensions are enabled.
|
void |
setBasicEncoding(String pEncoding)
Sets the encoding for basic authentication.
|
void |
setContentLengthOptional(boolean pContentLengthOptional)
Sets, whether a "Content-Length" header may be
omitted.
|
void |
setEnabledForExtensions(boolean pExtensions)
Sets, whether extensions are enabled.
|
void |
setEncoding(String pEncoding)
Sets the requests encoding.
|
void |
setTimeZone(TimeZone pTimeZone)
Returns the timezone, which is used to interpret date/time
values.
|
public boolean isEnabledForExtensions()
XmlRpcConfigisEnabledForExtensions in interface XmlRpcConfigpublic void setEnabledForExtensions(boolean pExtensions)
pExtensions - True to enable extensions, false otherwise.public void setBasicEncoding(String pEncoding)
pEncoding - The encoding; may be null, in which case
UTF-8 is choosen.public String getBasicEncoding()
XmlRpcHttpConfiggetBasicEncoding in interface XmlRpcHttpConfigXmlRpcStreamConfig.UTF8_ENCODING)
is being used.public void setEncoding(String pEncoding)
pEncoding - The requests encoding or null (default
UTF-8).public String getEncoding()
XmlRpcStreamConfiggetEncoding in interface XmlRpcStreamConfigXmlRpcStreamConfig.UTF8_ENCODING
is being used.public boolean isContentLengthOptional()
XmlRpcHttpConfigisContentLengthOptional in interface XmlRpcHttpConfigpublic void setContentLengthOptional(boolean pContentLengthOptional)
pContentLengthOptional - True, if the content length may be omitted.public TimeZone getTimeZone()
XmlRpcConfigTimeZone.getDefault().getTimeZone in interface XmlRpcConfigpublic void setTimeZone(TimeZone pTimeZone)
TimeZone.getDefault().Copyright © 2001-2015 The Apache Software Foundation. All Rights Reserved.