Class Utf8FrameValidator

  • All Implemented Interfaces:
    io.netty5.channel.ChannelHandler

    public class Utf8FrameValidator
    extends Object
    implements io.netty5.channel.ChannelHandler
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void channelRead​(io.netty5.channel.ChannelHandlerContext ctx, Object msg)  
      • Methods inherited from interface io.netty5.channel.ChannelHandler

        bind, channelActive, channelExceptionCaught, channelInactive, channelInboundEvent, channelReadComplete, channelRegistered, channelShutdown, channelUnregistered, channelWritabilityChanged, close, connect, deregister, disconnect, flush, handlerAdded, handlerRemoved, isSharable, pendingOutboundBytes, read, register, sendOutboundEvent, shutdown, write
    • Constructor Detail

      • Utf8FrameValidator

        public Utf8FrameValidator()
      • Utf8FrameValidator

        public Utf8FrameValidator​(boolean closeOnProtocolViolation)
    • Method Detail

      • channelRead

        public void channelRead​(io.netty5.channel.ChannelHandlerContext ctx,
                                Object msg)
                         throws Exception
        Specified by:
        channelRead in interface io.netty5.channel.ChannelHandler
        Throws:
        Exception