/** * invoke like this: * http://localhost:8080/sensorData/rest/buffer/PT_DS1_316233.ED01_AB219_M04.AS.V2251 * * @param id * @return */ @GET @Path("{sensor_id}") public String getBufferForSensor(@PathParam("sensor_id") String id) { return buffer.getValuesForSensorAsJSON(id); }