Class WebsocketAccessLogger


  • public class WebsocketAccessLogger
    extends Object
    This class is used to log the websocket access logs
    • Constructor Detail

      • WebsocketAccessLogger

        public WebsocketAccessLogger​(io.netty.util.internal.logging.InternalLogger logger)
    • Method Detail

      • logChannelRegistered

        public void logChannelRegistered​(io.netty.channel.ChannelHandlerContext ctx)
        Log the channel registered event
      • logChannelUnregistered

        public void logChannelUnregistered​(io.netty.channel.ChannelHandlerContext ctx)
        Log the channel unregistered event
      • logChannelRead

        public void logChannelRead​(io.netty.channel.ChannelHandlerContext ctx,
                                   Object msg)
        Log the channel read event
      • logChannelWrite

        public void logChannelWrite​(io.netty.channel.ChannelHandlerContext ctx,
                                    Object msg)
        Log the channel write event
      • convertToFullHttpRequest

        public static io.netty.handler.codec.http.FullHttpRequest convertToFullHttpRequest​(String rawHttpRequest)
        Convert raw HTTP request to FullHttpRequest