java.lang.Object
com.maxmind.geoip2.model.AbstractResponse
com.maxmind.geoip2.model.AbstractCountryResponse
- Direct Known Subclasses:
AbstractCityResponse
,CountryResponse
-
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class com.maxmind.geoip2.model.AbstractResponse
toJson, toString
-
Method Details
-
getMaxMind
- Returns:
- MaxMind record containing data related to your account.
-
getRegisteredCountry
- Returns:
- Registered country record for the requested IP address. This record represents the country where the ISP has registered a given IP block and may differ from the user's country.
-
getContinent
- Returns:
- Continent record for the requested IP address.
-
getCountry
- Returns:
- Country record for the requested IP address. This object represents the country where MaxMind believes the end user is located.
-
getRepresentedCountry
- Returns:
- Represented country record for the requested IP address. The represented country is used for things like military bases. It is only present when the represented country differs from the country.
-
getTraits
- Returns:
- Record for the traits of the requested IP address.
-