Package org.openiam.script
Class AbstractCustomIpGeoRequest
- java.lang.Object
-
- org.openiam.script.AbstractCustomIpGeoRequest
-
public abstract class AbstractCustomIpGeoRequest extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.apache.commons.logging.Log
log
-
Constructor Summary
Constructors Constructor Description AbstractCustomIpGeoRequest()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract DbIPGeo
getIpInfo(String ip)
static org.codehaus.jettison.json.JSONObject
readJsonFromUrl(String url)
-
-
-
Method Detail
-
getIpInfo
public abstract DbIPGeo getIpInfo(String ip) throws ScriptEngineException
- Throws:
ScriptEngineException
-
readJsonFromUrl
public static org.codehaus.jettison.json.JSONObject readJsonFromUrl(String url) throws IOException, org.codehaus.jettison.json.JSONException
- Throws:
IOException
org.codehaus.jettison.json.JSONException
-
-