@CommandMapping(name="gateway/updateRules", desc="Update gateway rules") public class UpdateGatewayRuleCommandHandler extends Object implements CommandHandler<String>
| Constructor and Description |
|---|
UpdateGatewayRuleCommandHandler() |
| Modifier and Type | Method and Description |
|---|---|
static com.alibaba.csp.sentinel.datasource.WritableDataSource<Set<GatewayFlowRule>> |
getWritableDataSource() |
CommandResponse<String> |
handle(CommandRequest request) |
static void |
setWritableDataSource(com.alibaba.csp.sentinel.datasource.WritableDataSource<Set<GatewayFlowRule>> gatewayFlowWds) |
public CommandResponse<String> handle(CommandRequest request)
handle in interface CommandHandler<String>public static com.alibaba.csp.sentinel.datasource.WritableDataSource<Set<GatewayFlowRule>> getWritableDataSource()
public static void setWritableDataSource(com.alibaba.csp.sentinel.datasource.WritableDataSource<Set<GatewayFlowRule>> gatewayFlowWds)
Copyright © 2020 Alibaba Group. All rights reserved.