Class AbstractCountryResponse

    • Method Detail

      • getMaxMind

        public MaxMind getMaxMind()
        Returns:
        MaxMind record containing data related to your account.
      • getRegisteredCountry

        public Country 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

        public Continent getContinent()
        Returns:
        Continent record for the requested IP address.
      • getCountry

        public Country getCountry()
        Returns:
        Country record for the requested IP address. This object represents the country where MaxMind believes the end user is located.
      • getRepresentedCountry

        public RepresentedCountry 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

        public Traits getTraits()
        Returns:
        Record for the traits of the requested IP address.