Class XmlRpcClientConfigImpl

    • Field Detail

      • serverURL

        private java.net.URL serverURL
      • userAgent

        private java.lang.String userAgent
    • Constructor Detail

      • XmlRpcClientConfigImpl

        public XmlRpcClientConfigImpl()
        Creates a new client configuration with default settings.
    • Method Detail

      • cloneMe

        public XmlRpcClientConfigImpl cloneMe()
        Creates a clone of this client configuration.
        Returns:
        A clone of this configuration.
      • setServerURL

        public void setServerURL​(java.net.URL pURL)
        Sets the servers URL.
        Parameters:
        pURL - Servers URL
      • getServerURL

        public java.net.URL getServerURL()
        Description copied from interface: XmlRpcHttpClientConfig
        Returns the HTTP servers URL.
        Specified by:
        getServerURL in interface XmlRpcHttpClientConfig
        Returns:
        XML-RPC servers URL; for example, this may be the URL of a servlet
      • setXmlRpcServer

        public void setXmlRpcServer​(XmlRpcRequestProcessor pServer)
        Returns the XmlRpcRequestProcessor being invoked.
        Parameters:
        pServer - Server object being invoked. This will typically be a singleton instance, but could as well create a new instance with any call.
      • getUserAgent

        public java.lang.String getUserAgent()
        Returns the user agent header to use
        Specified by:
        getUserAgent in interface XmlRpcHttpClientConfig
        Returns:
        the http user agent header to set when doing xmlrpc requests
      • setUserAgent

        public void setUserAgent​(java.lang.String pUserAgent)
        Parameters:
        pUserAgent - the http user agent header to set when doing xmlrpc requests