Public Member Functions | Private Attributes
org.apache.xmlrpc.XmlRpcConfigImpl Class Reference
Inheritance diagram for org.apache.xmlrpc.XmlRpcConfigImpl:
Inheritance graph
[legend]

List of all members.

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()

Detailed Description

Default implementation of org.apache.xmlrpc.XmlRpcConfig.

Definition at line 28 of file XmlRpcConfigImpl.java.


Member Function Documentation

Returns the encoding being used to convert the String "username:password" into bytes.

Returns:
Encoding being used for basic HTTP authentication credentials, or null, if the default encoding (org.apache.xmlrpc.common.XmlRpcStreamRequestConfig#UTF8_ENCODING) is being used.

Implements org.apache.xmlrpc.common.XmlRpcHttpConfig.

Definition at line 54 of file XmlRpcConfigImpl.java.

Returns the encoding being used for data encoding, when writing to a stream.

Returns:
Suggested encoding, or null, if the UTF8_ENCODING is being used.

Implements org.apache.xmlrpc.common.XmlRpcStreamConfig.

Definition at line 64 of file XmlRpcConfigImpl.java.

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.

Returns, whether a "Content-Length" header may be omitted. The XML-RPC specification demands, that such a header be present.

Returns:
True, if the content length may be omitted.

Implements org.apache.xmlrpc.common.XmlRpcHttpConfig.

Definition at line 66 of file XmlRpcConfigImpl.java.

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.

Returns:
Whether extensions are enabled or not.

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.

Parameters:
pEncodingThe 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.

Parameters:
pContentLengthOptionalTrue, 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.

Parameters:
pExtensionsTrue 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.

Parameters:
pEncodingThe 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.


Member Data Documentation

Definition at line 31 of file XmlRpcConfigImpl.java.

Definition at line 30 of file XmlRpcConfigImpl.java.

Definition at line 29 of file XmlRpcConfigImpl.java.

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.


The documentation for this class was generated from the following file:


rosjava_core
Author(s):
autogenerated on Wed Aug 26 2015 16:06:50