java.lang.Object
com.maxmind.geoip2.model.AbstractResponse
com.maxmind.geoip2.model.IpBaseResponse
com.maxmind.geoip2.model.IpRiskResponse
Deprecated.
This database has been discontinued.
This class provides the GeoIP2 IP Risk model.
-
Constructor Summary
ConstructorDescriptionIpRiskResponse
(IpRiskResponse response, String ipAddress, Network network) Deprecated.IpRiskResponse
(String ipAddress, boolean isAnonymous, boolean isAnonymousVpn, boolean isHostingProvider, boolean isPublicProxy, boolean isResidentialProxy, boolean isTorExitNode, Network network, double ipRisk) Deprecated.IpRiskResponse
(String ipAddress, Boolean isAnonymous, Boolean isAnonymousVpn, Boolean isHostingProvider, Boolean isPublicProxy, Boolean isResidentialProxy, Boolean isTorExitNode, Network network, double ipRisk) Deprecated. -
Method Summary
Methods inherited from class com.maxmind.geoip2.model.IpBaseResponse
getIpAddress, getNetwork, isAnonymous, isAnonymousVpn, isHostingProvider, isPublicProxy, isResidentialProxy, isTorExitNode
Methods inherited from class com.maxmind.geoip2.model.AbstractResponse
toJson, toString
-
Constructor Details
-
IpRiskResponse
public IpRiskResponse(String ipAddress, boolean isAnonymous, boolean isAnonymousVpn, boolean isHostingProvider, boolean isPublicProxy, boolean isResidentialProxy, boolean isTorExitNode, Network network, double ipRisk) Deprecated. -
IpRiskResponse
public IpRiskResponse(String ipAddress, Boolean isAnonymous, Boolean isAnonymousVpn, Boolean isHostingProvider, Boolean isPublicProxy, Boolean isResidentialProxy, Boolean isTorExitNode, Network network, double ipRisk) Deprecated. -
IpRiskResponse
Deprecated.
-
-
Method Details
-
getIpRisk
public double getIpRisk()Deprecated.- Returns:
- The IP risk of a model.
-