@ChannelHandler.Sharable
public class LoggingHandler
extends io.netty.handler.logging.LoggingHandler
| 构造器和说明 |
|---|
LoggingHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
channelReadComplete(io.netty.channel.ChannelHandlerContext ctx) |
void |
channelRegistered(io.netty.channel.ChannelHandlerContext ctx) |
void |
channelUnregistered(io.netty.channel.ChannelHandlerContext ctx) |
void |
deregister(io.netty.channel.ChannelHandlerContext ctx,
io.netty.channel.ChannelPromise promise) |
void |
flush(io.netty.channel.ChannelHandlerContext ctx) |
bind, byteBufFormat, channelActive, channelInactive, channelRead, channelWritabilityChanged, close, connect, disconnect, exceptionCaught, format, format, format, level, userEventTriggered, writeensureNotSharable, handlerAdded, handlerRemoved, isSharablepublic void channelRegistered(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
channelRegistered 在接口中 io.netty.channel.ChannelInboundHandlerchannelRegistered 在类中 io.netty.handler.logging.LoggingHandlerExceptionpublic void channelUnregistered(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
channelUnregistered 在接口中 io.netty.channel.ChannelInboundHandlerchannelUnregistered 在类中 io.netty.handler.logging.LoggingHandlerExceptionpublic void deregister(io.netty.channel.ChannelHandlerContext ctx,
io.netty.channel.ChannelPromise promise)
throws Exception
deregister 在接口中 io.netty.channel.ChannelOutboundHandlerderegister 在类中 io.netty.handler.logging.LoggingHandlerExceptionpublic void channelReadComplete(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
channelReadComplete 在接口中 io.netty.channel.ChannelInboundHandlerchannelReadComplete 在类中 io.netty.handler.logging.LoggingHandlerExceptionCopyright © 2020–2022 The AIM Project. All rights reserved.