public class ProxyCheck
extends java.lang.Object
Constructor and Description |
---|
ProxyCheck() |
Modifier and Type | Method and Description |
---|---|
ProxyResults |
getAndMapResults(java.lang.String ip)
Maps the results from the provided IP provided from the API to a class with getters and setters
|
java.lang.String |
getLookupResponse(java.lang.String ip)
Builds the API URL based on selected settings
|
com.fasterxml.jackson.databind.JsonNode |
getRawJsonNode(java.lang.String ip)
Builds the API URL based on selected settings
|
public java.lang.String getLookupResponse(java.lang.String ip)
ip
- IP address you want to querypublic com.fasterxml.jackson.databind.JsonNode getRawJsonNode(java.lang.String ip) throws java.io.IOException
ip
- IP address you want to queryjava.io.IOException
public ProxyResults getAndMapResults(java.lang.String ip)
ip
- IP address you want to query and mapProxyResults