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.Loglog
-
Constructor Summary
Constructors Constructor Description AbstractCustomIpGeoRequest()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract DbIPGeogetIpInfo(String ip)static org.codehaus.jettison.json.JSONObjectreadJsonFromUrl(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:
IOExceptionorg.codehaus.jettison.json.JSONException
-
-