@Path("/")
public interface SAMRestService {
@GET
@Path("")
@Produces({ "text/plain" })
Response checkAlive();
@GET
@Path("list")
@Produces({ "application/json" })
Response getFlows(@QueryParam("offset") @DefaultValue("0") Integer offs
et,
@QueryParam("limit") @DefaultValue("10") Integer limit);
@GET
@Path("flow/{id}")
@Produces({ "application/json" })
Response getFlow(@PathParam("id") String id);
@GET
@Path("event/{id}")
@Produces({ "application/json" })
Response getEvent(@PathParam("id") String id);
}