@ChannelHandler.Sharable public class DatagramPacketStringDecoder extends io.netty.handler.codec.MessageToMessageDecoder<io.netty.channel.AddressedEnvelope<Object,InetSocketAddress>>
| Constructor and Description |
|---|
DatagramPacketStringDecoder()
Creates a new instance with the current system character set.
|
DatagramPacketStringDecoder(Charset charset)
Creates a new instance with the specified character set.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.channel.AddressedEnvelope<Object,InetSocketAddress> msg,
List<Object> out) |
acceptInboundMessage, channelReadchannelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredhandlerAdded, handlerRemoved, isSharablepublic DatagramPacketStringDecoder()
public DatagramPacketStringDecoder(Charset charset)
protected void decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.channel.AddressedEnvelope<Object,InetSocketAddress> msg,
List<Object> out)
throws Exception
decode in class io.netty.handler.codec.MessageToMessageDecoder<io.netty.channel.AddressedEnvelope<Object,InetSocketAddress>>ExceptionApache Camel