You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (JIRA)" <ji...@apache.org> on 2013/06/07 14:22:20 UTC

[jira] [Resolved] (HTTPCORE-344) HttpHost should provide a constructor taking an InetAddress (or even a byte array)

     [ https://issues.apache.org/jira/browse/HTTPCORE-344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Kalnichevski resolved HTTPCORE-344.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 4.3-beta3

Implemented in SVN trunk. Please review.

Oleg
                
> HttpHost should provide a constructor taking an InetAddress (or even a byte array)
> ----------------------------------------------------------------------------------
>
>                 Key: HTTPCORE-344
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-344
>             Project: HttpComponents HttpCore
>          Issue Type: Improvement
>          Components: HttpCore
>    Affects Versions: 4.3-beta2
>            Reporter: Sebastiano Vigna
>            Priority: Minor
>             Fix For: 4.3-beta3
>
>
> HttpHost provides String-based constructors that make it possible to create host given the IP address, e.g., new HttpHost("1.2.3.4"). Browsing the documentation this is not immediately evident, as the String parameter is called "hostname". Adding a constructor taking an InetAddress, or even another constructor using a byte array containing a raw address, would make it evident to someone browsing the available methods that an HttpHost instance can be built using an IP address.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org