Public Member Functions | |
String | getBasicEncoding () |
String | getEncoding () |
TimeZone | getTimeZone () |
boolean | isContentLengthOptional () |
boolean | isEnabledForExtensions () |
void | setBasicEncoding (String pEncoding) |
void | setContentLengthOptional (boolean pContentLengthOptional) |
void | setEnabledForExtensions (boolean pExtensions) |
void | setEncoding (String pEncoding) |
void | setTimeZone (TimeZone pTimeZone) |
Private Attributes | |
String | basicEncoding |
boolean | contentLengthOptional |
boolean | enabledForExtensions |
String | encoding |
TimeZone | timeZone = TimeZone.getDefault() |
Default implementation of org.apache.xmlrpc.XmlRpcConfig.
Definition at line 28 of file XmlRpcConfigImpl.java.
String org.apache.xmlrpc.XmlRpcConfigImpl.getBasicEncoding | ( | ) | [inline] |
Returns the encoding being used to convert the String "username:password" into bytes.
Implements org.apache.xmlrpc.common.XmlRpcHttpConfig.
Definition at line 54 of file XmlRpcConfigImpl.java.
String org.apache.xmlrpc.XmlRpcConfigImpl.getEncoding | ( | ) | [inline] |
Returns the encoding being used for data encoding, when writing to a stream.
Implements org.apache.xmlrpc.common.XmlRpcStreamConfig.
Definition at line 64 of file XmlRpcConfigImpl.java.
TimeZone org.apache.xmlrpc.XmlRpcConfigImpl.getTimeZone | ( | ) | [inline] |
Returns the timezone, which is used to interpret date/time values. Defaults to TimeZone#getDefault().
Implements org.apache.xmlrpc.XmlRpcConfig.
Definition at line 79 of file XmlRpcConfigImpl.java.
boolean org.apache.xmlrpc.XmlRpcConfigImpl.isContentLengthOptional | ( | ) | [inline] |
Returns, whether a "Content-Length" header may be omitted. The XML-RPC specification demands, that such a header be present.
Implements org.apache.xmlrpc.common.XmlRpcHttpConfig.
Definition at line 66 of file XmlRpcConfigImpl.java.
boolean org.apache.xmlrpc.XmlRpcConfigImpl.isEnabledForExtensions | ( | ) | [inline] |
Returns, whether support for extensions are enabled. By default, extensions are disabled and your client is interoperable with other XML-RPC implementations. Interoperable XML-RPC implementations are those, which are compliant to the XML-RPC Specification.
Implements org.apache.xmlrpc.XmlRpcConfig.
Definition at line 35 of file XmlRpcConfigImpl.java.
void org.apache.xmlrpc.XmlRpcConfigImpl.setBasicEncoding | ( | String | pEncoding | ) | [inline] |
Sets the encoding for basic authentication.
pEncoding | The encoding; may be null, in which case UTF-8 is choosen. |
Definition at line 50 of file XmlRpcConfigImpl.java.
void org.apache.xmlrpc.XmlRpcConfigImpl.setContentLengthOptional | ( | boolean | pContentLengthOptional | ) | [inline] |
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. |
Definition at line 75 of file XmlRpcConfigImpl.java.
void org.apache.xmlrpc.XmlRpcConfigImpl.setEnabledForExtensions | ( | boolean | pExtensions | ) | [inline] |
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. |
Definition at line 42 of file XmlRpcConfigImpl.java.
void org.apache.xmlrpc.XmlRpcConfigImpl.setEncoding | ( | String | pEncoding | ) | [inline] |
Sets the requests encoding.
pEncoding | The requests encoding or null (default UTF-8). |
Definition at line 60 of file XmlRpcConfigImpl.java.
void org.apache.xmlrpc.XmlRpcConfigImpl.setTimeZone | ( | TimeZone | pTimeZone | ) | [inline] |
Returns the timezone, which is used to interpret date/time values. Defaults to TimeZone#getDefault().
Definition at line 86 of file XmlRpcConfigImpl.java.
String org.apache.xmlrpc.XmlRpcConfigImpl.basicEncoding [private] |
Definition at line 31 of file XmlRpcConfigImpl.java.
boolean org.apache.xmlrpc.XmlRpcConfigImpl.contentLengthOptional [private] |
Definition at line 30 of file XmlRpcConfigImpl.java.
boolean org.apache.xmlrpc.XmlRpcConfigImpl.enabledForExtensions [private] |
Definition at line 29 of file XmlRpcConfigImpl.java.
String org.apache.xmlrpc.XmlRpcConfigImpl.encoding [private] |
Definition at line 32 of file XmlRpcConfigImpl.java.
TimeZone org.apache.xmlrpc.XmlRpcConfigImpl.timeZone = TimeZone.getDefault() [private] |
Definition at line 33 of file XmlRpcConfigImpl.java.