@Path("test")
@Produces(MediaType.APPLICATION_JSON)
@Consumes(MediaType.APPLICATION_JSON)
public class TestService {
public TestService() {
}
@GET
@Path("/v1/status/ping")
public Response ping()
{
LOGGER.debug("ping ");
return Response.ok().build();
}
}
Anonymous
Use UCDetector Preferences: "Ignore -> Code with annotations"
See: http://ucdetector.org/preferences.html