@Service @Path(value="/store") public class ServletDataStore extends Object
| Constructor and Description |
|---|
ServletDataStore() |
public static Type mapType
@Path(value="/saveState") @POST @Consumes(value="application/x-www-form-urlencoded") @Produces(value="application/json") public String store(@FormParam(value="id") Integer nextId, @FormParam(value="type") String type, @FormParam(value="data") String rawJson, @Context javax.servlet.http.HttpServletRequest req) throws SQLException
json - ClassNotFoundExceptionSQLException@Path(value="/deleteState") @POST @Produces(value="application/json") public String load(@FormParam(value="type") String type, @FormParam(value="id") Long id)
@Path(value="/loadState") @GET @Produces(value="application/json") public String load(@QueryParam(value="type") String type, @QueryParam(value="id") Long id, @Context javax.servlet.http.HttpServletRequest req) throws SQLException
SQLExceptionCopyright © 2015 Agile Knowledge Engineering and Semantic Web. All Rights Reserved.