类 ResponseDataDecodeRegistry

java.lang.Object
com.alibaba.csp.sentinel.cluster.client.codec.registry.ResponseDataDecodeRegistry

public final class ResponseDataDecodeRegistry extends Object
从以下版本开始:
1.4.0
作者:
Eric Zhao
  • 构造器详细资料

    • ResponseDataDecodeRegistry

      public ResponseDataDecodeRegistry()
  • 方法详细资料

    • addDecoder

      public static boolean addDecoder(int type, com.alibaba.csp.sentinel.cluster.codec.EntityDecoder<io.netty.buffer.ByteBuf,?> decoder)
    • getDecoder

      public static com.alibaba.csp.sentinel.cluster.codec.EntityDecoder<io.netty.buffer.ByteBuf,Object> getDecoder(int type)
    • removeDecoder

      public static boolean removeDecoder(int type)