public class XmlConverter extends Object implements com.alibaba.csp.sentinel.datasource.Converter<String,List<com.alibaba.csp.sentinel.slots.block.AbstractRule>>
FlowRule
,
DegradeRule
,
SystemRule
,
AuthorityRule
,
ParamFlowRule
,
XmlMapper
Constructor and Description |
---|
XmlConverter(com.fasterxml.jackson.dataformat.xml.XmlMapper xmlMapper) |
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.