Class FPC
java.lang.Object
com.astrolabsoftware.FinkBrowser.FinkPortalClient.FPC
FPC is a client for Fink Science Portal.- Author:
- J.Hrivnac
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static Stringprivate static Stringprivate static Stringprivate static org.apache.logging.log4j.LoggerLogging .private static Stringstatic SmallHttpClient -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic JSONArrayanomaly(JSONObject request) Call Fink Science Portal anomaly Web Service.private static JSONArraycall(JSONObject request, String endpoint) Call Fink Science Portal Web Service.static JSONArraylatests(JSONObject request) Call Fink Science Portal latests Web Service.static JSONArrayobjects(JSONObject request) Call Fink Science Portal objects Web Service.
-
Field Details
-
shc
-
FINK_SCIENCE_PORTAL
-
OBJECTS_WS
-
LATESTS_WS
-
ANOMALY_WS
-
log
Logging .
-
-
Constructor Details
-
FPC
public FPC()
-
-
Method Details
-
objects
Call Fink Science Portal objects Web Service. https://api.fink-portal.org/api/v1.- Parameters:
request- The requested formulated asJSONObject.endpoint- The service endpoint.- Returns:
- The answer formulated as
JSONArray. - Throws:
LomikelException- If call fails.
-
latests
Call Fink Science Portal latests Web Service. https://api.fink-portal.org/api/v1/latests.- Parameters:
request- The requested formulated asJSONObject.endpoint- The service endpoint.- Returns:
- The answer formulated as
JSONArray. - Throws:
LomikelException- If call fails.
-
anomaly
Call Fink Science Portal anomaly Web Service. https://api.fink-portal.org/api/v1/anomaly.- Parameters:
request- The requested formulated asJSONObject.endpoint- The service endpoint.- Returns:
- The answer formulated as
JSONArray. - Throws:
LomikelException- If call fails.
-
call
Call Fink Science Portal Web Service.- Parameters:
request- The requested formulated asJSONObject.endpoint- The service endpoint.- Returns:
- The answer formulated as
JSONArray. - Throws:
LomikelException- If call fails.
-