users@servlet-spec.java.net

[servlet-spec users] [97-getServerNameAndIPv6] Discussion

From: Edward Burns <edward.burns_at_oracle.com>
Date: Thu, 24 Jul 2014 18:13:33 -0700

>>>>> On Mon, 30 Jun 2014 16:43:16 +0200, Greg Wilkins <gregw_at_intalio.com> said:

GW> I think we need to clarify the handling of raw IPv6 addresses when they are
GW> sent as part of the URI authority and/or Host header.

GW> Currently the javadoc for getServerName says:

Agreed, I've filed: https://java.net/jira/browse/SERVLET_SPEC-97.

Is it possible to unambiguously determine if the hostname is an IPv6
hostname or an IPv4 hostname?

Ed

-- 
| edward.burns_at_oracle.com | office: +1 407 458 0017
| 38 work days til JavaOne 2014