Class HttpHost

    • Constructor Detail

      • HttpHost

        public HttpHost​(String hostname,
                        int port,
                        Protocol protocol)
        Deprecated.
        Constructor for HttpHost.
        Parameters:
        hostname - the hostname (IP or DNS name). Can be null.
        port - the port. Value -1 can be used to set default protocol port
        protocol - the protocol. Value null can be used to set default protocol
      • HttpHost

        public HttpHost​(String hostname,
                        int port)
        Deprecated.
        Constructor for HttpHost.
        Parameters:
        hostname - the hostname (IP or DNS name). Can be null.
        port - the port. Value -1 can be used to set default protocol port
      • HttpHost

        public HttpHost​(String hostname)
        Deprecated.
        Constructor for HttpHost.
        Parameters:
        hostname - the hostname (IP or DNS name). Can be null.
      • HttpHost

        public HttpHost​(URI uri)
                 throws URIException
        Deprecated.
        URI constructor for HttpHost.
        Parameters:
        uri - the URI.
        Throws:
        URIException
      • HttpHost

        public HttpHost​(HttpHost httphost)
        Deprecated.
        Copy constructor for HttpHost
        Parameters:
        httphost - the HTTP host to copy details from