Class SentinelConverter<T>
java.lang.Object
com.alibaba.cloud.sentinel.datasource.converter.SentinelConverter<T>
- All Implemented Interfaces:
com.alibaba.csp.sentinel.datasource.Converter<String,Collection<Object>>
- Direct Known Subclasses:
JsonConverter,XmlConverter
public abstract class SentinelConverter<T>
extends Object
implements com.alibaba.csp.sentinel.datasource.Converter<String,Collection<Object>>
Convert sentinel rules for json or xml array Using strict mode to parse json or xml.
- Author:
- Jim
- See Also:
-
FlowRuleDegradeRuleSystemRuleAuthorityRuleParamFlowRuleObjectMapper
-
Constructor Summary
ConstructorsConstructorDescriptionSentinelConverter(com.fasterxml.jackson.databind.ObjectMapper objectMapper, Class<T> ruleClass) -
Method Summary
-
Constructor Details
-
SentinelConverter
-
-
Method Details
-
convert
- Specified by:
convertin interfacecom.alibaba.csp.sentinel.datasource.Converter<String,Collection<Object>>
-