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:
  • FlowRule
  • DegradeRule
  • SystemRule
  • AuthorityRule
  • ParamFlowRule
  • ObjectMapper
  • Constructor Details

    • SentinelConverter

      public SentinelConverter(com.fasterxml.jackson.databind.ObjectMapper objectMapper, Class<T> ruleClass)
  • Method Details