Class XmlRpcConfigImpl

    • Constructor Detail

      • XmlRpcConfigImpl

        public XmlRpcConfigImpl()
    • Method Detail

      • isEnabledForExtensions

        public boolean isEnabledForExtensions()
        Description copied from interface: XmlRpcConfig
        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.
        Specified by:
        isEnabledForExtensions in interface XmlRpcConfig
        Returns:
        Whether extensions are enabled or not.
      • 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.
        Parameters:
        pExtensions - True to enable extensions, false otherwise.
      • setBasicEncoding

        public void setBasicEncoding​(String pEncoding)
        Sets the encoding for basic authentication.
        Parameters:
        pEncoding - The encoding; may be null, in which case UTF-8 is choosen.
      • setEncoding

        public void setEncoding​(String pEncoding)
        Sets the requests encoding.
        Parameters:
        pEncoding - The requests encoding or null (default UTF-8).
      • isContentLengthOptional

        public boolean isContentLengthOptional()
        Description copied from interface: XmlRpcHttpConfig
        Returns, whether a "Content-Length" header may be omitted. The XML-RPC specification demands, that such a header be present.
        Specified by:
        isContentLengthOptional in interface XmlRpcHttpConfig
        Returns:
        True, if the content length may be omitted.
      • 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.
        Parameters:
        pContentLengthOptional - True, if the content length may be omitted.
      • setTimeZone

        public void setTimeZone​(TimeZone pTimeZone)
        Returns the timezone, which is used to interpret date/time values. Defaults to TimeZone.getDefault().