@Path(value="circuit/breaker") public class CircuitBreakerResources extends Object
| 构造器和说明 |
|---|
CircuitBreakerResources() |
| 限定符和类型 | 方法和说明 |
|---|---|
CommonResponse |
add(String option,
String ips) |
GenericResponse<CircuitBreakerData> |
query() |
CommonResponse |
remove(String option,
String ips) |
CommonResponse |
switchClose() |
CommonResponse |
switchOpen() |
@GET @Path(value="query") @Produces(value="application/json") public GenericResponse<CircuitBreakerData> query()
@POST @Path(value="switch/close") @Produces(value="application/json") public CommonResponse switchClose()
@POST @Path(value="switch/open") @Produces(value="application/json") public CommonResponse switchOpen()
@POST @Path(value="add") @Produces(value="application/json") public CommonResponse add(@FormParam(value="option") String option, @FormParam(value="ips") String ips)
@POST @Path(value="remove") @Produces(value="application/json") public CommonResponse remove(@FormParam(value="option") String option, @FormParam(value="ips") String ips)
Copyright © 2023 The Ant Financial. All rights reserved.