public class SimpleHandlerLoader extends Object
| 构造器和说明 |
|---|
SimpleHandlerLoader() |
| 限定符和类型 | 方法和说明 |
|---|---|
static List<io.netty.channel.ChannelHandler> |
getDelimiterBasedHandlers()
分隔符解码处理器,指定消息结束的分隔符,自动完成以分隔符作为码流结束标识的消息的解码
回车换行解码处理器实际上是一种特殊的DelimiterBasedFrameDecoder解码器
|
static List<io.netty.channel.ChannelHandler> |
getHttpChannelHandlers()
Http 消息处理器
|
static List<io.netty.channel.ChannelHandler> |
getLineBasedHandlers()
回车换行解码处理器,以回车换行符作为消息结束的标识
|
static List<io.netty.channel.ChannelHandler> |
getMqttChannelHandlers()
MQTT 消息处理器
|
static List<io.netty.channel.ChannelHandler> |
getMqttWsChannelHandlers()
MQTT Websocket 消息处理器
|
static List<io.netty.channel.ChannelHandler> |
getTcpHandlers()
TCP 自定义长度解码处理器
|
public static List<io.netty.channel.ChannelHandler> getLineBasedHandlers()
public static List<io.netty.channel.ChannelHandler> getDelimiterBasedHandlers()
public static List<io.netty.channel.ChannelHandler> getTcpHandlers()
public static List<io.netty.channel.ChannelHandler> getHttpChannelHandlers()
public static List<io.netty.channel.ChannelHandler> getMqttChannelHandlers()
public static List<io.netty.channel.ChannelHandler> getMqttWsChannelHandlers()
Copyright © 2019. All rights reserved.