|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xmlrpc.XmlRpcConfigImpl
public abstract class XmlRpcConfigImpl
Default implementation of XmlRpcConfig.
| Field Summary |
|---|
| Fields inherited from interface org.apache.xmlrpc.common.XmlRpcStreamConfig |
|---|
UTF8_ENCODING |
| Constructor Summary | |
|---|---|
XmlRpcConfigImpl()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getBasicEncoding()
Returns the encoding being used to convert the String "username:password" into bytes. |
java.lang.String |
getEncoding()
Returns the encoding being used for data encoding, when writing to a stream. |
java.util.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(java.lang.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(java.lang.String pEncoding)
Sets the requests encoding. |
void |
setTimeZone(java.util.TimeZone pTimeZone)
Returns the timezone, which is used to interpret date/time values. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XmlRpcConfigImpl()
| Method Detail |
|---|
public boolean isEnabledForExtensions()
XmlRpcConfig
isEnabledForExtensions in interface XmlRpcConfigpublic void setEnabledForExtensions(boolean pExtensions)
pExtensions - True to enable extensions, false otherwise.public void setBasicEncoding(java.lang.String pEncoding)
pEncoding - The encoding; may be null, in which case
UTF-8 is choosen.public java.lang.String getBasicEncoding()
XmlRpcHttpConfig
getBasicEncoding in interface XmlRpcHttpConfigXmlRpcStreamConfig.UTF8_ENCODING)
is being used.public void setEncoding(java.lang.String pEncoding)
pEncoding - The requests encoding or null (default
UTF-8).public java.lang.String getEncoding()
XmlRpcStreamConfig
getEncoding in interface XmlRpcStreamConfigXmlRpcStreamConfig.UTF8_ENCODING
is being used.public boolean isContentLengthOptional()
XmlRpcHttpConfig
isContentLengthOptional in interface XmlRpcHttpConfigpublic void setContentLengthOptional(boolean pContentLengthOptional)
pContentLengthOptional - True, if the content length may be omitted.public java.util.TimeZone getTimeZone()
XmlRpcConfigTimeZone.getDefault().
getTimeZone in interface XmlRpcConfigpublic void setTimeZone(java.util.TimeZone pTimeZone)
TimeZone.getDefault().
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||