You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
257 B
15 lines
257 B
package org.sebi.incident;
|
|
|
|
import java.util.List;
|
|
|
|
import javax.ws.rs.GET;
|
|
import javax.ws.rs.Path;
|
|
|
|
@Path("rest/incidents")
|
|
public class IncidentResource {
|
|
|
|
@GET
|
|
public List<Incident> getIncidents(){
|
|
return Incident.listAll();
|
|
}
|
|
}
|
|
|