/** * Retrieves representation of an instance of com.rajtech.resources.StatusResource * * @return an instance of javax.ws.rs.core.Response */ @GET @Produces("application/json") public List<Status> getStatus() { status = sdi.listStatus(); if (status.isEmpty()) return null; else return status; }