public class JsonConverter extends Object implements com.alibaba.csp.sentinel.datasource.Converter<String,List<com.alibaba.csp.sentinel.slots.block.AbstractRule>>
FlowRule
,
DegradeRule
,
SystemRule
,
AuthorityRule
,
ParamFlowRule
,
ObjectMapper
Constructor and Description |
---|
JsonConverter(com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
Modifier and Type | Method and Description |
---|---|
List<com.alibaba.csp.sentinel.slots.block.AbstractRule> |
convert(String source) |
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.