Class AnonymousIpResponse


public class AnonymousIpResponse extends IpBaseResponse
This class provides the GeoIP2 Anonymous IP model.
  • Constructor Details

    • AnonymousIpResponse

      public AnonymousIpResponse(String ipAddress, boolean isAnonymous, boolean isAnonymousVpn, boolean isHostingProvider, boolean isPublicProxy, boolean isResidentialProxy, boolean isTorExitNode, Network network)
      Constructs an instance of AnonymousIpResponse with the specified values.
      Parameters:
      ipAddress - the IP address being checked
      isAnonymous - whether the IP address belongs to any sort of anonymous network
      isAnonymousVpn - whether the IP address belongs to an anonymous VPN system
      isHostingProvider - whether the IP address belongs to a hosting provider
      isPublicProxy - whether the IP address belongs to a public proxy system
      isResidentialProxy - whether the IP address belongs to a residential proxy system
      isTorExitNode - whether the IP address is a Tor exit node
      network - the network associated with the record
    • AnonymousIpResponse

      public AnonymousIpResponse(String ipAddress, Boolean isAnonymous, Boolean isAnonymousVpn, Boolean isHostingProvider, Boolean isPublicProxy, Boolean isResidentialProxy, Boolean isTorExitNode, Network network)
      Constructs an instance of AnonymousIpResponse with the specified values.
      Parameters:
      ipAddress - the IP address being checked
      isAnonymous - whether the IP address belongs to any sort of anonymous network
      isAnonymousVpn - whether the IP address belongs to an anonymous VPN system
      isHostingProvider - whether the IP address belongs to a hosting provider
      isPublicProxy - whether the IP address belongs to a public proxy system
      isResidentialProxy - whether the IP address belongs to a residential proxy system
      isTorExitNode - whether the IP address is a Tor exit node
      network - the network associated with the record
    • AnonymousIpResponse

      public AnonymousIpResponse(AnonymousIpResponse response, String ipAddress, Network network)
      Constructs an instance of AnonymousIpResponse from the values in the passed response and the specified IP address and network.
      Parameters:
      response - the response to copy
      ipAddress - the IP address being checked
      network - the network associated with the record