Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AbstractCityResponse - Class in com.maxmind.geoip2.model
-
Abstract class for models that contain City data.
- AbstractCountryResponse - Class in com.maxmind.geoip2.model
-
Abstract class for models that contain Country data.
- AbstractNamedRecord - Class in com.maxmind.geoip2.record
-
Abstract class for records with name maps.
- AbstractRecord - Class in com.maxmind.geoip2.record
-
Abstract class for GeoIP2.
- AbstractRecord() - Constructor for class com.maxmind.geoip2.record.AbstractRecord
- AbstractResponse - Class in com.maxmind.geoip2.model
-
Abstract class for GeoIP2 models.
- AbstractResponse() - Constructor for class com.maxmind.geoip2.model.AbstractResponse
- AddressNotFoundException - Exception in com.maxmind.geoip2.exception
-
This exception is thrown when the IP address is not found in the database.
- AddressNotFoundException(String) - Constructor for exception com.maxmind.geoip2.exception.AddressNotFoundException
- AddressNotFoundException(String, Throwable) - Constructor for exception com.maxmind.geoip2.exception.AddressNotFoundException
- anonymousIp(InetAddress) - Method in interface com.maxmind.geoip2.DatabaseProvider
-
Look up an IP address in a GeoIP2 Anonymous IP.
- anonymousIp(InetAddress) - Method in class com.maxmind.geoip2.DatabaseReader
-
Look up an IP address in a GeoIP2 Anonymous IP.
- AnonymousIpResponse - Class in com.maxmind.geoip2.model
-
This class provides the GeoIP2 Anonymous IP model.
- AnonymousIpResponse(AnonymousIpResponse, String, Network) - Constructor for class com.maxmind.geoip2.model.AnonymousIpResponse
-
Constructs an instance of
AnonymousIpResponse
from the values in the passed response and the specified IP address and network. - AnonymousIpResponse(String, boolean, boolean, boolean, boolean, boolean, boolean, Network) - Constructor for class com.maxmind.geoip2.model.AnonymousIpResponse
-
Constructs an instance of
AnonymousIpResponse
with the specified values. - AnonymousIpResponse(String, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Network) - Constructor for class com.maxmind.geoip2.model.AnonymousIpResponse
-
Constructs an instance of
AnonymousIpResponse
with the specified values. - asn(InetAddress) - Method in interface com.maxmind.geoip2.DatabaseProvider
-
Look up an IP address in a GeoLite2 ASN database.
- asn(InetAddress) - Method in class com.maxmind.geoip2.DatabaseReader
-
Look up an IP address in a GeoLite2 ASN database.
- AsnResponse - Class in com.maxmind.geoip2.model
-
This class provides the GeoLite2 ASN model.
- AsnResponse(AsnResponse, String, Network) - Constructor for class com.maxmind.geoip2.model.AsnResponse
-
Constructs an instance of
AsnResponse
with only the specified values set. - AsnResponse(Long, String, String, Network) - Constructor for class com.maxmind.geoip2.model.AsnResponse
-
Constructs an instance of
AsnResponse
with the specified values for all fields. - AuthenticationException - Exception in com.maxmind.geoip2.exception
-
This exception is thrown when there is an authentication error.
- AuthenticationException(String) - Constructor for exception com.maxmind.geoip2.exception.AuthenticationException
- AuthenticationException(String, Throwable) - Constructor for exception com.maxmind.geoip2.exception.AuthenticationException
B
- build() - Method in class com.maxmind.geoip2.DatabaseReader.Builder
- build() - Method in class com.maxmind.geoip2.WebServiceClient.Builder
- Builder(int, String) - Constructor for class com.maxmind.geoip2.WebServiceClient.Builder
- Builder(File) - Constructor for class com.maxmind.geoip2.DatabaseReader.Builder
- Builder(InputStream) - Constructor for class com.maxmind.geoip2.DatabaseReader.Builder
C
- CABLE_DSL - Enum constant in enum com.maxmind.geoip2.model.ConnectionTypeResponse.ConnectionType
- CELLULAR - Enum constant in enum com.maxmind.geoip2.model.ConnectionTypeResponse.ConnectionType
- city() - Method in class com.maxmind.geoip2.WebServiceClient
- city() - Method in interface com.maxmind.geoip2.WebServiceProvider
- city(InetAddress) - Method in class com.maxmind.geoip2.DatabaseReader
- city(InetAddress) - Method in interface com.maxmind.geoip2.GeoIp2Provider
- city(InetAddress) - Method in class com.maxmind.geoip2.WebServiceClient
- City - Class in com.maxmind.geoip2.record
-
City-level data associated with an IP address.
- City() - Constructor for class com.maxmind.geoip2.record.City
-
Constructs an instance of
City
with no data. - City(City, List<String>) - Constructor for class com.maxmind.geoip2.record.City
-
Constructs an instance of
City
. - City(List<String>, Integer, Long, Map<String, String>) - Constructor for class com.maxmind.geoip2.record.City
-
Constructs an instance of
City
with the specified parameters. - CityResponse - Class in com.maxmind.geoip2.model
-
This class provides a model for the data returned by the City Plus web service and the City database.
- CityResponse(CityResponse, String, Network, List<String>) - Constructor for class com.maxmind.geoip2.model.CityResponse
-
Constructs an instance of
CityResponse
with the specified parameters. - CityResponse(City, Continent, Country, Location, MaxMind, Postal, Country, RepresentedCountry, ArrayList<Subdivision>, Traits) - Constructor for class com.maxmind.geoip2.model.CityResponse
-
Constructs an instance of
CityResponse
with the specified parameters. - close() - Method in class com.maxmind.geoip2.DatabaseReader
-
Closes the database.
- close() - Method in class com.maxmind.geoip2.WebServiceClient
-
Deprecated.Closing is no longer necessary with java.net.http.HttpClient.
- com.maxmind.geoip2 - module com.maxmind.geoip2
- com.maxmind.geoip2 - package com.maxmind.geoip2
- com.maxmind.geoip2.exception - package com.maxmind.geoip2.exception
- com.maxmind.geoip2.model - package com.maxmind.geoip2.model
- com.maxmind.geoip2.record - package com.maxmind.geoip2.record
- connectionType(InetAddress) - Method in interface com.maxmind.geoip2.DatabaseProvider
-
Look up an IP address in a GeoIP2 Connection Type database.
- connectionType(InetAddress) - Method in class com.maxmind.geoip2.DatabaseReader
-
Look up an IP address in a GeoIP2 Connection Type database.
- ConnectionTypeResponse - Class in com.maxmind.geoip2.model
-
This class provides the GeoIP2 Connection-Type model.
- ConnectionTypeResponse(ConnectionTypeResponse.ConnectionType, String, Network) - Constructor for class com.maxmind.geoip2.model.ConnectionTypeResponse
-
Constructs an instance of
ConnectionTypeResponse
. - ConnectionTypeResponse(ConnectionTypeResponse, String, Network) - Constructor for class com.maxmind.geoip2.model.ConnectionTypeResponse
-
Constructs an instance of
ConnectionTypeResponse
. - ConnectionTypeResponse(String, String, Network) - Constructor for class com.maxmind.geoip2.model.ConnectionTypeResponse
-
Constructs an instance of
ConnectionTypeResponse
. - ConnectionTypeResponse.ConnectionType - Enum in com.maxmind.geoip2.model
-
The enumerated values that connection-type may take.
- connectTimeout(int) - Method in class com.maxmind.geoip2.WebServiceClient.Builder
-
Deprecated.Use connectTimeout(Duration) instead
- connectTimeout(Duration) - Method in class com.maxmind.geoip2.WebServiceClient.Builder
- Continent - Class in com.maxmind.geoip2.record
-
Contains data for the continent record associated with an IP address.
- Continent() - Constructor for class com.maxmind.geoip2.record.Continent
-
Constructs an instance of
Continent
with no data. - Continent(Continent, List<String>) - Constructor for class com.maxmind.geoip2.record.Continent
-
Constructs an instance of
Continent
. - Continent(List<String>, String, Long, Map<String, String>) - Constructor for class com.maxmind.geoip2.record.Continent
-
Constructs an instance of
Continent
. - CORPORATE - Enum constant in enum com.maxmind.geoip2.model.ConnectionTypeResponse.ConnectionType
- country() - Method in class com.maxmind.geoip2.WebServiceClient
- country() - Method in interface com.maxmind.geoip2.WebServiceProvider
- country(InetAddress) - Method in class com.maxmind.geoip2.DatabaseReader
- country(InetAddress) - Method in interface com.maxmind.geoip2.GeoIp2Provider
- country(InetAddress) - Method in class com.maxmind.geoip2.WebServiceClient
- Country - Class in com.maxmind.geoip2.record
-
Contains data for the country record associated with an IP address.
- Country() - Constructor for class com.maxmind.geoip2.record.Country
-
Constructs an instance of
Country
with no data. - Country(Country, List<String>) - Constructor for class com.maxmind.geoip2.record.Country
-
Constructs an instance of
Country
. - Country(List<String>, Integer, Long, Boolean, String, Map<String, String>) - Constructor for class com.maxmind.geoip2.record.Country
-
Constructs an instance of
Country
. - CountryResponse - Class in com.maxmind.geoip2.model
-
This class provides a model for the data returned by the Country web service and the Country database.
- CountryResponse(CountryResponse, String, Network, List<String>) - Constructor for class com.maxmind.geoip2.model.CountryResponse
-
Constructs an instance of
CountryResponse
with the specified parameters. - CountryResponse(Continent, Country, MaxMind, Country, RepresentedCountry, Traits) - Constructor for class com.maxmind.geoip2.model.CountryResponse
-
Constructs an instance of
CountryResponse
with the specified parameters.
D
- DatabaseProvider - Interface in com.maxmind.geoip2
-
Interface for GeoIP2 database providers.
- DatabaseReader - Class in com.maxmind.geoip2
-
The class
DatabaseReader
provides a reader for the GeoIP2 database format. - DatabaseReader.Builder - Class in com.maxmind.geoip2
-
Constructs a Builder for the
DatabaseReader
. - deserialize(JsonParser, DeserializationContext) - Method in class com.maxmind.geoip2.NetworkDeserializer
- DIALUP - Enum constant in enum com.maxmind.geoip2.model.ConnectionTypeResponse.ConnectionType
- disableHttps() - Method in class com.maxmind.geoip2.WebServiceClient.Builder
-
Disables HTTPS to connect to a test server or proxy.
- domain(InetAddress) - Method in interface com.maxmind.geoip2.DatabaseProvider
-
Look up an IP address in a GeoIP2 Domain database.
- domain(InetAddress) - Method in class com.maxmind.geoip2.DatabaseReader
-
Look up an IP address in a GeoIP2 Domain database.
- DomainResponse - Class in com.maxmind.geoip2.model
-
This class provides the GeoIP2 Domain model.
- DomainResponse(DomainResponse, String, Network) - Constructor for class com.maxmind.geoip2.model.DomainResponse
-
Constructs an instance of
DomainResponse
with only required parameters. - DomainResponse(String, String, Network) - Constructor for class com.maxmind.geoip2.model.DomainResponse
-
Constructs an instance of
DomainResponse
.
E
- enterprise(InetAddress) - Method in interface com.maxmind.geoip2.DatabaseProvider
-
Look up an IP address in a GeoIP2 Enterprise database.
- enterprise(InetAddress) - Method in class com.maxmind.geoip2.DatabaseReader
-
Look up an IP address in a GeoIP2 Enterprise database.
- EnterpriseResponse - Class in com.maxmind.geoip2.model
-
This class provides a model for the data returned by the GeoIP2 Enterprise database
- EnterpriseResponse(EnterpriseResponse, String, Network, List<String>) - Constructor for class com.maxmind.geoip2.model.EnterpriseResponse
-
Constructs an instance of
EnterpriseResponse
with only required parameters. - EnterpriseResponse(City, Continent, Country, Location, MaxMind, Postal, Country, RepresentedCountry, ArrayList<Subdivision>, Traits) - Constructor for class com.maxmind.geoip2.model.EnterpriseResponse
-
Constructs an instance of
EnterpriseResponse
with the specified parameters.
F
- fileMode(Reader.FileMode) - Method in class com.maxmind.geoip2.DatabaseReader.Builder
- fromString(String) - Static method in enum com.maxmind.geoip2.model.ConnectionTypeResponse.ConnectionType
-
Creates an instance of
ConnectionTypeResponse
from a string.
G
- GeoIp2Exception - Exception in com.maxmind.geoip2.exception
-
This class represents a generic GeoIP2 error.
- GeoIp2Exception(String) - Constructor for exception com.maxmind.geoip2.exception.GeoIp2Exception
- GeoIp2Exception(String, Throwable) - Constructor for exception com.maxmind.geoip2.exception.GeoIp2Exception
- GeoIp2Provider - Interface in com.maxmind.geoip2
-
Interface for GeoIP2 providers.
- getAccuracyRadius() - Method in class com.maxmind.geoip2.record.Location
- getAutonomousSystemNumber() - Method in class com.maxmind.geoip2.model.AsnResponse
- getAutonomousSystemNumber() - Method in class com.maxmind.geoip2.record.Traits
- getAutonomousSystemOrganization() - Method in class com.maxmind.geoip2.model.AsnResponse
- getAutonomousSystemOrganization() - Method in class com.maxmind.geoip2.record.Traits
- getAverageIncome() - Method in class com.maxmind.geoip2.record.Location
- getCity() - Method in class com.maxmind.geoip2.model.AbstractCityResponse
- getCode() - Method in exception com.maxmind.geoip2.exception.InvalidRequestException
- getCode() - Method in class com.maxmind.geoip2.record.Continent
- getCode() - Method in class com.maxmind.geoip2.record.Postal
- getConfidence() - Method in class com.maxmind.geoip2.record.City
- getConfidence() - Method in class com.maxmind.geoip2.record.Country
- getConfidence() - Method in class com.maxmind.geoip2.record.Postal
- getConfidence() - Method in class com.maxmind.geoip2.record.Subdivision
- getConnectionType() - Method in class com.maxmind.geoip2.model.ConnectionTypeResponse
- getConnectionType() - Method in class com.maxmind.geoip2.record.Traits
- getContinent() - Method in class com.maxmind.geoip2.model.AbstractCountryResponse
- getCountry() - Method in class com.maxmind.geoip2.model.AbstractCountryResponse
- getDomain() - Method in class com.maxmind.geoip2.model.DomainResponse
- getDomain() - Method in class com.maxmind.geoip2.record.Traits
- getGeoNameId() - Method in class com.maxmind.geoip2.record.AbstractNamedRecord
- getHttpStatus() - Method in exception com.maxmind.geoip2.exception.HttpException
- getIpAddress() - Method in class com.maxmind.geoip2.model.AsnResponse
- getIpAddress() - Method in class com.maxmind.geoip2.model.ConnectionTypeResponse
- getIpAddress() - Method in class com.maxmind.geoip2.model.DomainResponse
- getIpAddress() - Method in class com.maxmind.geoip2.model.IpBaseResponse
- getIpAddress() - Method in class com.maxmind.geoip2.record.Traits
- getIpRisk() - Method in class com.maxmind.geoip2.model.IpRiskResponse
-
Deprecated.
- getIsoCode() - Method in class com.maxmind.geoip2.record.Country
- getIsoCode() - Method in class com.maxmind.geoip2.record.Subdivision
- getIsp() - Method in class com.maxmind.geoip2.model.IspResponse
- getIsp() - Method in class com.maxmind.geoip2.record.Traits
- getLatitude() - Method in class com.maxmind.geoip2.record.Location
- getLeastSpecificSubdivision() - Method in class com.maxmind.geoip2.model.AbstractCityResponse
- getLocation() - Method in class com.maxmind.geoip2.model.AbstractCityResponse
- getLongitude() - Method in class com.maxmind.geoip2.record.Location
- getMaxMind() - Method in class com.maxmind.geoip2.model.AbstractCountryResponse
- getMetadata() - Method in class com.maxmind.geoip2.DatabaseReader
- getMetroCode() - Method in class com.maxmind.geoip2.record.Location
- getMobileCountryCode() - Method in class com.maxmind.geoip2.model.IspResponse
- getMobileCountryCode() - Method in class com.maxmind.geoip2.record.Traits
- getMobileNetworkCode() - Method in class com.maxmind.geoip2.model.IspResponse
- getMobileNetworkCode() - Method in class com.maxmind.geoip2.record.Traits
- getMostSpecificSubdivision() - Method in class com.maxmind.geoip2.model.AbstractCityResponse
- getName() - Method in class com.maxmind.geoip2.record.AbstractNamedRecord
- getNames() - Method in class com.maxmind.geoip2.record.AbstractNamedRecord
- getNetwork() - Method in class com.maxmind.geoip2.model.AsnResponse
- getNetwork() - Method in class com.maxmind.geoip2.model.ConnectionTypeResponse
- getNetwork() - Method in class com.maxmind.geoip2.model.DomainResponse
- getNetwork() - Method in class com.maxmind.geoip2.model.IpBaseResponse
- getNetwork() - Method in class com.maxmind.geoip2.record.Traits
- getOrganization() - Method in class com.maxmind.geoip2.model.IspResponse
- getOrganization() - Method in class com.maxmind.geoip2.record.Traits
- getPopulationDensity() - Method in class com.maxmind.geoip2.record.Location
- getPostal() - Method in class com.maxmind.geoip2.model.AbstractCityResponse
- getQueriesRemaining() - Method in class com.maxmind.geoip2.record.MaxMind
- getRegisteredCountry() - Method in class com.maxmind.geoip2.model.AbstractCountryResponse
- getRepresentedCountry() - Method in class com.maxmind.geoip2.model.AbstractCountryResponse
- getStaticIpScore() - Method in class com.maxmind.geoip2.record.Traits
- getSubdivisions() - Method in class com.maxmind.geoip2.model.AbstractCityResponse
- getTimeZone() - Method in class com.maxmind.geoip2.record.Location
- getTraits() - Method in class com.maxmind.geoip2.model.AbstractCountryResponse
- getType() - Method in class com.maxmind.geoip2.record.RepresentedCountry
- getUri() - Method in exception com.maxmind.geoip2.exception.HttpException
- getUri() - Method in exception com.maxmind.geoip2.exception.InvalidRequestException
- getUrl() - Method in exception com.maxmind.geoip2.exception.HttpException
-
Deprecated.Use getUri() instead
- getUrl() - Method in exception com.maxmind.geoip2.exception.InvalidRequestException
-
Deprecated.Use getUri() instead
- getUserCount() - Method in class com.maxmind.geoip2.record.Traits
- getUserType() - Method in class com.maxmind.geoip2.record.Traits
H
- host(String) - Method in class com.maxmind.geoip2.WebServiceClient.Builder
- HttpException - Exception in com.maxmind.geoip2.exception
-
This class represents an HTTP transport error.
- HttpException(String, int, URI) - Constructor for exception com.maxmind.geoip2.exception.HttpException
- HttpException(String, int, URI, Throwable) - Constructor for exception com.maxmind.geoip2.exception.HttpException
I
- insights() - Method in class com.maxmind.geoip2.WebServiceClient
- insights() - Method in interface com.maxmind.geoip2.WebServiceProvider
- insights(InetAddress) - Method in class com.maxmind.geoip2.WebServiceClient
- insights(InetAddress) - Method in interface com.maxmind.geoip2.WebServiceProvider
- InsightsResponse - Class in com.maxmind.geoip2.model
-
This class provides a model for the data returned by the Insights web service.
- InsightsResponse(City, Continent, Country, Location, MaxMind, Postal, Country, RepresentedCountry, List<Subdivision>, Traits) - Constructor for class com.maxmind.geoip2.model.InsightsResponse
-
Constructs an instance of
InsightsResponse
with the specified parameters. - InvalidRequestException - Exception in com.maxmind.geoip2.exception
-
This class represents a non-specific error returned by MaxMind's GeoIP2 web service.
- InvalidRequestException(String, String, int, URI, Throwable) - Constructor for exception com.maxmind.geoip2.exception.InvalidRequestException
- InvalidRequestException(String, String, URI) - Constructor for exception com.maxmind.geoip2.exception.InvalidRequestException
- IpBaseResponse - Class in com.maxmind.geoip2.model
-
This class provides the base IP model.
- IpBaseResponse(String, boolean, boolean, boolean, boolean, boolean, boolean, Network) - Constructor for class com.maxmind.geoip2.model.IpBaseResponse
-
Constructs an instance of
IpBaseResponse
. - ipRisk(InetAddress) - Method in interface com.maxmind.geoip2.DatabaseProvider
-
Deprecated.This database has been discontinued.
- ipRisk(InetAddress) - Method in class com.maxmind.geoip2.DatabaseReader
-
Deprecated.This database has been discontinued.
- IpRiskResponse - Class in com.maxmind.geoip2.model
-
Deprecated.This database has been discontinued.
- IpRiskResponse(IpRiskResponse, String, Network) - Constructor for class com.maxmind.geoip2.model.IpRiskResponse
-
Deprecated.Constructs an instance of
IpRiskResponse
. - IpRiskResponse(String, boolean, boolean, boolean, boolean, boolean, boolean, Network, double) - Constructor for class com.maxmind.geoip2.model.IpRiskResponse
-
Deprecated.Constructs an instance of
IpRiskResponse
. - IpRiskResponse(String, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Network, double) - Constructor for class com.maxmind.geoip2.model.IpRiskResponse
-
Deprecated.Constructs an instance of
IpRiskResponse
. - isAnonymous() - Method in class com.maxmind.geoip2.model.IpBaseResponse
- isAnonymous() - Method in class com.maxmind.geoip2.record.Traits
- isAnonymousProxy() - Method in class com.maxmind.geoip2.record.Traits
-
Deprecated.Use our GeoIP2 Anonymous IP database instead.
- isAnonymousVpn() - Method in class com.maxmind.geoip2.model.IpBaseResponse
- isAnonymousVpn() - Method in class com.maxmind.geoip2.record.Traits
- isAnycast() - Method in class com.maxmind.geoip2.record.Traits
- isHostingProvider() - Method in class com.maxmind.geoip2.model.IpBaseResponse
- isHostingProvider() - Method in class com.maxmind.geoip2.record.Traits
- isInEuropeanUnion() - Method in class com.maxmind.geoip2.record.Country
- isLegitimateProxy() - Method in class com.maxmind.geoip2.record.Traits
- isp(InetAddress) - Method in interface com.maxmind.geoip2.DatabaseProvider
-
Look up an IP address in a GeoIP2 ISP database.
- isp(InetAddress) - Method in class com.maxmind.geoip2.DatabaseReader
-
Look up an IP address in a GeoIP2 ISP database.
- IspResponse - Class in com.maxmind.geoip2.model
-
This class provides the GeoIP2 ISP model.
- IspResponse(IspResponse, String, Network) - Constructor for class com.maxmind.geoip2.model.IspResponse
-
Constructs an instance of
IspResponse
. - IspResponse(Long, String, String, String, String, String, String, Network) - Constructor for class com.maxmind.geoip2.model.IspResponse
-
Constructs an instance of
IspResponse
. - isPublicProxy() - Method in class com.maxmind.geoip2.model.IpBaseResponse
- isPublicProxy() - Method in class com.maxmind.geoip2.record.Traits
- isResidentialProxy() - Method in class com.maxmind.geoip2.model.IpBaseResponse
- isResidentialProxy() - Method in class com.maxmind.geoip2.record.Traits
- isSatelliteProvider() - Method in class com.maxmind.geoip2.record.Traits
-
Deprecated.Due to increased mobile usage, we have insufficient data to maintain this field.
- isTorExitNode() - Method in class com.maxmind.geoip2.model.IpBaseResponse
- isTorExitNode() - Method in class com.maxmind.geoip2.record.Traits
L
- locales(List<String>) - Method in class com.maxmind.geoip2.DatabaseReader.Builder
- locales(List<String>) - Method in class com.maxmind.geoip2.WebServiceClient.Builder
- Location - Class in com.maxmind.geoip2.record
-
Contains data for the location record associated with an IP address.
- Location() - Constructor for class com.maxmind.geoip2.record.Location
-
Constructs a
Location
record withnull
values for all the fields. - Location(Integer, Integer, Double, Double, Integer, Integer, String) - Constructor for class com.maxmind.geoip2.record.Location
-
Constructs an instance of
Location
.
M
- MaxMind - Class in com.maxmind.geoip2.record
-
Contains data related to your MaxMind account.
- MaxMind() - Constructor for class com.maxmind.geoip2.record.MaxMind
-
Constructs a
MaxMind
record. - MaxMind(Integer) - Constructor for class com.maxmind.geoip2.record.MaxMind
-
Constructs a
MaxMind
record.
N
- NetworkDeserializer - Class in com.maxmind.geoip2
-
This class provides a deserializer for the Network class.
- NetworkDeserializer() - Constructor for class com.maxmind.geoip2.NetworkDeserializer
-
Constructs a @{code NetworkDeserializer} object.
- NetworkDeserializer(Class<?>) - Constructor for class com.maxmind.geoip2.NetworkDeserializer
-
Constructs a @{code NetworkDeserializer} object.
O
- OutOfQueriesException - Exception in com.maxmind.geoip2.exception
-
This exception is thrown when your account does not have any queries remaining for the called service.
- OutOfQueriesException(String) - Constructor for exception com.maxmind.geoip2.exception.OutOfQueriesException
- OutOfQueriesException(String, Throwable) - Constructor for exception com.maxmind.geoip2.exception.OutOfQueriesException
P
- PermissionRequiredException - Exception in com.maxmind.geoip2.exception
-
This exception is thrown when permission is required to use the service.
- PermissionRequiredException(String) - Constructor for exception com.maxmind.geoip2.exception.PermissionRequiredException
- PermissionRequiredException(String, Throwable) - Constructor for exception com.maxmind.geoip2.exception.PermissionRequiredException
- port(int) - Method in class com.maxmind.geoip2.WebServiceClient.Builder
- Postal - Class in com.maxmind.geoip2.record
-
Contains data for the postal record associated with an IP address.
- Postal() - Constructor for class com.maxmind.geoip2.record.Postal
-
Constructs a
Postal
record. - Postal(String, Integer) - Constructor for class com.maxmind.geoip2.record.Postal
-
Constructs an instance of
Postal
. - proxy(Proxy) - Method in class com.maxmind.geoip2.WebServiceClient.Builder
-
Deprecated.Use proxy(ProxySelector)
- proxy(ProxySelector) - Method in class com.maxmind.geoip2.WebServiceClient.Builder
R
- readTimeout(int) - Method in class com.maxmind.geoip2.WebServiceClient.Builder
-
Deprecated.Use requestTimeout(Duration) instead
- RepresentedCountry - Class in com.maxmind.geoip2.record
-
Contains data for the represented country associated with an IP address.
- RepresentedCountry() - Constructor for class com.maxmind.geoip2.record.RepresentedCountry
-
Constructs an instance of
RepresentedCountry
with no data. - RepresentedCountry(RepresentedCountry, List<String>) - Constructor for class com.maxmind.geoip2.record.RepresentedCountry
-
Constructs an instance of
RepresentedCountry
. - RepresentedCountry(List<String>, Integer, Long, Boolean, String, Map<String, String>, String) - Constructor for class com.maxmind.geoip2.record.RepresentedCountry
-
Constructs an instance of
RepresentedCountry
. - requestTimeout(Duration) - Method in class com.maxmind.geoip2.WebServiceClient.Builder
S
- SATELLITE - Enum constant in enum com.maxmind.geoip2.model.ConnectionTypeResponse.ConnectionType
- Subdivision - Class in com.maxmind.geoip2.record
-
Contains data for the subdivisions associated with an IP address.
- Subdivision() - Constructor for class com.maxmind.geoip2.record.Subdivision
-
Constructs a
Subdivision
record. - Subdivision(Subdivision, List<String>) - Constructor for class com.maxmind.geoip2.record.Subdivision
-
Constructs an instance of
Subdivision
with the specified parameters. - Subdivision(List<String>, Integer, Long, String, Map<String, String>) - Constructor for class com.maxmind.geoip2.record.Subdivision
-
Constructs an instance of
Subdivision
.
T
- toJson() - Method in class com.maxmind.geoip2.model.AbstractResponse
- toJson() - Method in class com.maxmind.geoip2.record.AbstractRecord
- toString() - Method in class com.maxmind.geoip2.model.AbstractResponse
- toString() - Method in enum com.maxmind.geoip2.model.ConnectionTypeResponse.ConnectionType
- toString() - Method in class com.maxmind.geoip2.record.AbstractRecord
- toString() - Method in class com.maxmind.geoip2.WebServiceClient
- Traits - Class in com.maxmind.geoip2.record
-
Contains data for the traits record associated with an IP address.
- Traits() - Constructor for class com.maxmind.geoip2.record.Traits
-
Constructs an instance of
Traits
. - Traits(Traits, String, Network) - Constructor for class com.maxmind.geoip2.record.Traits
-
Constructs an instance of
Traits
. - Traits(Long, String, ConnectionTypeResponse.ConnectionType, String, String, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, String, String, String, Network, String, String, Integer, Double) - Constructor for class com.maxmind.geoip2.record.Traits
-
Constructs an instance of
Traits
. - Traits(Long, String, ConnectionTypeResponse.ConnectionType, String, String, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, String, String, String, Network, String, String, Integer, Double) - Constructor for class com.maxmind.geoip2.record.Traits
-
Deprecated.will be removed in the next major version.
- Traits(Long, String, String, String, String, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, String, String, String, Network, String, String, Integer, Double) - Constructor for class com.maxmind.geoip2.record.Traits
-
Constructs an instance of
Traits
. - Traits(Long, String, String, String, String, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, String, String, String, Network, String, String, Integer, Double) - Constructor for class com.maxmind.geoip2.record.Traits
-
Deprecated.will be removed in the next major version.
- Traits(String, Network) - Constructor for class com.maxmind.geoip2.record.Traits
-
Constructs an instance of
Traits
. - tryAnonymousIp(InetAddress) - Method in interface com.maxmind.geoip2.DatabaseProvider
-
Look up an IP address in a GeoIP2 Anonymous IP.
- tryAnonymousIp(InetAddress) - Method in class com.maxmind.geoip2.DatabaseReader
- tryAsn(InetAddress) - Method in interface com.maxmind.geoip2.DatabaseProvider
-
Look up an IP address in a GeoLite2 ASN database.
- tryAsn(InetAddress) - Method in class com.maxmind.geoip2.DatabaseReader
- tryCity(InetAddress) - Method in interface com.maxmind.geoip2.DatabaseProvider
- tryCity(InetAddress) - Method in class com.maxmind.geoip2.DatabaseReader
- tryConnectionType(InetAddress) - Method in interface com.maxmind.geoip2.DatabaseProvider
-
Look up an IP address in a GeoIP2 Connection Type database.
- tryConnectionType(InetAddress) - Method in class com.maxmind.geoip2.DatabaseReader
- tryCountry(InetAddress) - Method in interface com.maxmind.geoip2.DatabaseProvider
- tryCountry(InetAddress) - Method in class com.maxmind.geoip2.DatabaseReader
- tryDomain(InetAddress) - Method in interface com.maxmind.geoip2.DatabaseProvider
-
Look up an IP address in a GeoIP2 Domain database.
- tryDomain(InetAddress) - Method in class com.maxmind.geoip2.DatabaseReader
- tryEnterprise(InetAddress) - Method in interface com.maxmind.geoip2.DatabaseProvider
-
Look up an IP address in a GeoIP2 Enterprise database.
- tryEnterprise(InetAddress) - Method in class com.maxmind.geoip2.DatabaseReader
- tryIpRisk(InetAddress) - Method in interface com.maxmind.geoip2.DatabaseProvider
-
Deprecated.This database has been discontinued.
- tryIpRisk(InetAddress) - Method in class com.maxmind.geoip2.DatabaseReader
-
Deprecated.
- tryIsp(InetAddress) - Method in interface com.maxmind.geoip2.DatabaseProvider
-
Look up an IP address in a GeoIP2 ISP database.
- tryIsp(InetAddress) - Method in class com.maxmind.geoip2.DatabaseReader
V
- valueOf(String) - Static method in enum com.maxmind.geoip2.model.ConnectionTypeResponse.ConnectionType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.maxmind.geoip2.model.ConnectionTypeResponse.ConnectionType
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- WebServiceClient - Class in com.maxmind.geoip2
-
The
WebServiceClient
class provides a client API for all the GeoIP2 web services. - WebServiceClient.Builder - Class in com.maxmind.geoip2
-
Builder
creates instances ofWebServiceClient
from values set by the methods. - WebServiceProvider - Interface in com.maxmind.geoip2
-
Interface for GeoIP2 web service providers.
- withCache(NodeCache) - Method in class com.maxmind.geoip2.DatabaseReader.Builder
All Classes and Interfaces|All Packages|Serialized Form