Class WebsocketAccessLogger
- java.lang.Object
-
- org.wso2.carbon.inbound.endpoint.protocol.websocket.WebsocketAccessLogger
-
public class WebsocketAccessLogger extends Object
This class is used to log the websocket access logs
-
-
Constructor Summary
Constructors Constructor Description WebsocketAccessLogger(io.netty.util.internal.logging.InternalLogger logger)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static io.netty.handler.codec.http.FullHttpRequestconvertToFullHttpRequest(String rawHttpRequest)Convert raw HTTP request to FullHttpRequestvoidlogChannelRead(io.netty.channel.ChannelHandlerContext ctx, Object msg)Log the channel read eventvoidlogChannelRegistered(io.netty.channel.ChannelHandlerContext ctx)Log the channel registered eventvoidlogChannelUnregistered(io.netty.channel.ChannelHandlerContext ctx)Log the channel unregistered eventvoidlogChannelWrite(io.netty.channel.ChannelHandlerContext ctx, Object msg)Log the channel write event
-
-
-
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
-
-