Return-Path: X-Original-To: apmail-hc-dev-archive@www.apache.org Delivered-To: apmail-hc-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E56C110104 for ; Thu, 6 Jun 2013 22:54:20 +0000 (UTC) Received: (qmail 17185 invoked by uid 500); 6 Jun 2013 22:54:20 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 17034 invoked by uid 500); 6 Jun 2013 22:54:20 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 17020 invoked by uid 99); 6 Jun 2013 22:54:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jun 2013 22:54:20 +0000 Date: Thu, 6 Jun 2013 22:54:20 +0000 (UTC) From: "Sebastiano Vigna (JIRA)" To: dev@hc.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HTTPCORE-344) HttpHost should provide a constructor taking an InetAddress (or even a byte array) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Sebastiano Vigna created HTTPCORE-344: ----------------------------------------- Summary: 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 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