Esempio n. 1
0
 @GET
 @Path("stop")
 public Response stop() {
   if (service.isRunning()) service.stop(new HttpSource(request));
   return Response.status(Status.OK).build();
 }