static class LocalHostLookup.DefaultLocalHostLookupProvider extends LocalHostLookupSpi
Constructor and Description |
---|
DefaultLocalHostLookupProvider() |
Modifier and Type | Method and Description |
---|---|
String |
getHostAddress() |
String |
getHostName() |
InetAddress |
getLocalHost() |
public InetAddress getLocalHost() throws UnknownHostException
getLocalHost
in class LocalHostLookupSpi
UnknownHostException
public String getHostName() throws UnknownHostException
getHostName
in class LocalHostLookupSpi
UnknownHostException
public String getHostAddress() throws UnknownHostException
getHostAddress
in class LocalHostLookupSpi
UnknownHostException
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.