Class XmlRpcSun15HttpTransportFactory

    • Field Detail

      • proxy

        private java.net.Proxy proxy
    • 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​(java.lang.String proxyHost,
                             int proxyPort)
        Sets the proxy to use.
        Parameters:
        proxyHost - The proxy hostname.
        proxyPort - The proxy port number.
        Throws:
        java.lang.IllegalArgumentException - if the proxyHost parameter is null or if the proxyPort parameter is outside the range of valid port values.
      • setProxy

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