Class ConnectionTypeResponse

java.lang.Object
com.maxmind.geoip2.model.AbstractResponse
com.maxmind.geoip2.model.ConnectionTypeResponse

public class ConnectionTypeResponse extends AbstractResponse
This class provides the GeoIP2 Connection-Type model.
  • Constructor Details

  • Method Details

    • getConnectionType

      public ConnectionTypeResponse.ConnectionType getConnectionType()
      Returns:
      The connection type of the IP address.
    • getIpAddress

      public String getIpAddress()
      Returns:
      The IP address that the data in the model is for.
    • getNetwork

      public Network getNetwork()
      Returns:
      The network associated with the record. In particular, this is the largest network where all the fields besides IP address have the same value.