Package io.tech1.framework.domain.geo
Class GeoLocation
- java.lang.Object
-
- io.tech1.framework.domain.geo.GeoLocation
-
public class GeoLocation extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetCity()StringgetCountry()StringgetCountryCode()StringgetCountryFlag()StringgetExceptionDetails()StringgetIpAddr()static StringgetIpAddrOrUnknown(IPAddress ipAddress)StringgetWhere()inthashCode()static GeoLocationprocessed(IPAddress ipAddress, String country, String countryCode, String countryFlag, String city)static GeoLocationprocessing(IPAddress ipAddress)StringtoString()static GeoLocationunknown(IPAddress ipAddress, String exceptionDetails)
-
-
-
Method Detail
-
unknown
public static GeoLocation unknown(IPAddress ipAddress, String exceptionDetails)
-
processing
public static GeoLocation processing(IPAddress ipAddress)
-
processed
public static GeoLocation processed(IPAddress ipAddress, String country, String countryCode, String countryFlag, String city)
-
getWhere
public String getWhere()
-
getIpAddr
public String getIpAddr()
-
getCountry
public String getCountry()
-
getCountryCode
public String getCountryCode()
-
getCountryFlag
public String getCountryFlag()
-
getCity
public String getCity()
-
getExceptionDetails
public String getExceptionDetails()
-
canEqual
protected boolean canEqual(Object other)
-
-