Interface GuiceRestBreakerService

All Known Implementing Classes:
GuiceRestBreakerServiceImpl

@Path("/guice/breakers") public interface GuiceRestBreakerService
  • Method Details

    • getIndex

      @GET @Path("/") @Produces("text/html") String getIndex(@QueryParam("message") String message)
    • setState

      @POST @Path("/set-breaker-state") @Produces("text/html") javax.ws.rs.core.Response setState(@FormParam("name") String name, @FormParam("value") @DefaultValue("false") boolean value, @FormParam("note") String note)
    • getOverview

      @GET @Path("/state") @Produces("text/plain") String getOverview()
    • testBreaker

      @GET @Path("/breaker/{breaker_name}/test") @Produces("text/plain") javax.ws.rs.core.Response testBreaker(@PathParam("breaker_name") String breakerName)
    • setTripped

      @POST @Path("/set-breaker-state") @Produces("text/plain") String setTripped(@FormParam("name") String name, @FormParam("value") @DefaultValue("false") boolean value, @FormParam("note") String note)