java.lang.Object
com.maxmind.geoip2.model.AbstractResponse
com.maxmind.geoip2.model.AsnResponse
com.maxmind.geoip2.model.IspResponse
This class provides the GeoIP2 ISP model.
-
Constructor Summary
ConstructorDescriptionIspResponse
(IspResponse response, String ipAddress, Network network) IspResponse
(Long autonomousSystemNumber, String autonomousSystemOrganization, String ipAddress, String isp, String mobileCountryCode, String mobileNetworkCode, String organization, Network network) -
Method Summary
Methods inherited from class com.maxmind.geoip2.model.AsnResponse
getAutonomousSystemNumber, getAutonomousSystemOrganization, getIpAddress, getNetwork
Methods inherited from class com.maxmind.geoip2.model.AbstractResponse
toJson, toString
-
Constructor Details
-
IspResponse
-
IspResponse
-
-
Method Details
-
getIsp
- Returns:
- The name of the ISP associated with the IP address.
-
getMobileCountryCode
- Returns:
- The mobile country code (MCC) associated with the IP address and ISP. This property is available from the City and Insights web services and the GeoIP2 Enterprise database.
-
getMobileNetworkCode
- Returns:
- The mobile network code (MNC) associated with the IP address and ISP. This property is available from the City and Insights web services and the GeoIP2 Enterprise database.
-
getOrganization
- Returns:
- The name of the organization associated with the IP address.
-