Class XmlRpcSun15HttpTransportFactory

    • Constructor Detail

      • XmlRpcSun15HttpTransportFactory

        public XmlRpcSun15HttpTransportFactory​(XmlRpcClient pClient)
        Creates a new factory, which creates transports for the given client.
        Parameters:
        pClient - The client, which is operating the factory.
    • Method Detail

      • setProxy

        public void setProxy​(String proxyHost,
                             int proxyPort)
        Sets the proxy to use.
        Parameters:
        proxyHost - The proxy hostname.
        proxyPort - The proxy port number.
        Throws:
        IllegalArgumentException - if the proxyHost parameter is null or if the proxyPort parameter is outside the range of valid port values.
      • setProxy

        public void setProxy​(Proxy pProxy)
        Sets the proxy to use.
        Parameters:
        pProxy - The proxy settings.