public interface DatabaseProvider extends GeoIp2Provider
| Modifier and Type | Method and Description |
|---|---|
AnonymousIpResponse |
anonymousIp(InetAddress ipAddress)
Look up an IP address in a GeoIP2 Anonymous IP.
|
ConnectionTypeResponse |
connectionType(InetAddress ipAddress)
Look up an IP address in a GeoIP2 Connection Type database.
|
DomainResponse |
domain(InetAddress ipAddress)
Look up an IP address in a GeoIP2 Domain database.
|
EnterpriseResponse |
enterprise(InetAddress ipAddress)
Look up an IP address in a GeoIP2 Enterprise database.
|
IspResponse |
isp(InetAddress ipAddress)
Look up an IP address in a GeoIP2 ISP database.
|
city, countryAnonymousIpResponse anonymousIp(InetAddress ipAddress) throws IOException, GeoIp2Exception
ipAddress - IPv4 or IPv6 address to lookup.GeoIp2Exception - if there is an error looking up the IPIOException - if there is an IO errorConnectionTypeResponse connectionType(InetAddress ipAddress) throws IOException, GeoIp2Exception
ipAddress - IPv4 or IPv6 address to lookup.GeoIp2Exception - if there is an error looking up the IPIOException - if there is an IO errorDomainResponse domain(InetAddress ipAddress) throws IOException, GeoIp2Exception
ipAddress - IPv4 or IPv6 address to lookup.GeoIp2Exception - if there is an error looking up the IPIOException - if there is an IO errorEnterpriseResponse enterprise(InetAddress ipAddress) throws IOException, GeoIp2Exception
ipAddress - IPv4 or IPv6 address to lookup.GeoIp2Exception - if there is an error looking up the IPIOException - if there is an IO errorIspResponse isp(InetAddress ipAddress) throws IOException, GeoIp2Exception
ipAddress - IPv4 or IPv6 address to lookup.GeoIp2Exception - if there is an error looking up the IPIOException - if there is an IO errorCopyright © 2016 MaxMind, Inc.. All Rights Reserved.