public class GeoBytesHostGeoLookup extends java.lang.Object implements HostGeoLookup
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
log |
| Constructor and Description |
|---|
GeoBytesHostGeoLookup() |
| Modifier and Type | Method and Description |
|---|---|
HostGeoInfo |
getHostGeoInfo(java.net.InetAddress address) |
java.lang.String |
getPropertiesLookupUrlFor(java.net.InetAddress address)
returns URL to get properties for the given address (assuming localhost if address is on a subnet)
|
java.lang.String |
getPropertiesLookupUrlForLocalhost() |
java.lang.String |
getPropertiesLookupUrlForPublicIp(java.lang.String ip) |
public java.lang.String getPropertiesLookupUrlForPublicIp(java.lang.String ip)
public java.lang.String getPropertiesLookupUrlForLocalhost()
public java.lang.String getPropertiesLookupUrlFor(java.net.InetAddress address)
public HostGeoInfo getHostGeoInfo(java.net.InetAddress address) throws java.net.MalformedURLException, java.io.IOException
getHostGeoInfo in interface HostGeoLookupjava.net.MalformedURLExceptionjava.io.IOException