protected static class SecurityUtil.QualifiedHostResolver extends Object
限定符 | 构造器和说明 |
---|---|
protected |
SecurityUtil.QualifiedHostResolver() |
public InetAddress getByName(String host) throws UnknownHostException
InetAddress.getCanonicalHostName()
will fully qualify the
hostname, but it always return the A record whereas the given hostname
may be a CNAME.host
- a hostname or ip addressUnknownHostException
- if host does not existCopyright © 2009 The Apache Software Foundation