类 RequestDataDecodeRegistry
java.lang.Object
com.alibaba.csp.sentinel.cluster.server.codec.registry.RequestDataDecodeRegistry
- 从以下版本开始:
- 1.4.0
- 作者:
- Eric Zhao
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static booleanaddDecoder(int type, com.alibaba.csp.sentinel.cluster.codec.EntityDecoder<io.netty.buffer.ByteBuf, ?> decoder) static com.alibaba.csp.sentinel.cluster.codec.EntityDecoder<io.netty.buffer.ByteBuf,Object> getDecoder(int type) static booleanremoveDecoder(int type)
-
构造器详细资料
-
RequestDataDecodeRegistry
public RequestDataDecodeRegistry()
-
-
方法详细资料
-
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)
-