Package edu.sc.seis.sod.web
Class QuakeStationMeasurementsServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
edu.sc.seis.sod.web.JsonToFileServlet
edu.sc.seis.sod.web.QuakeStationMeasurementsServlet
- All Implemented Interfaces:
java.io.Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
public class QuakeStationMeasurementsServlet extends JsonToFileServlet
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description QuakeStationMeasurementsServlet()
-
Method Summary
Modifier and Type Method Description protected org.json.JSONObject
createEmpty(java.lang.String id)
protected void
save(java.lang.String id, org.json.JSONObject inJson)
protected void
updateAfterLoad(org.json.JSONObject out)
Methods inherited from class edu.sc.seis.sod.web.JsonToFileServlet
doDelete, doGet, doPatch, doPost, doPut, getAllJsonIds, load, service, updateBeforeSave
Methods inherited from class javax.servlet.http.HttpServlet
doHead, doOptions, doTrace, getLastModified, service
-
Constructor Details
-
QuakeStationMeasurementsServlet
public QuakeStationMeasurementsServlet()
-
-
Method Details
-
updateAfterLoad
protected void updateAfterLoad(org.json.JSONObject out) throws java.io.IOException- Overrides:
updateAfterLoad
in classJsonToFileServlet
- Throws:
java.io.IOException
-
save
protected void save(java.lang.String id, org.json.JSONObject inJson) throws java.io.IOException- Overrides:
save
in classJsonToFileServlet
- Throws:
java.io.IOException
-
createEmpty
protected org.json.JSONObject createEmpty(java.lang.String id)- Overrides:
createEmpty
in classJsonToFileServlet
-