@Component
@ChannelHandler.Sharable
public class WeChatChannel
extends io.netty.channel.SimpleChannelInboundHandler<io.netty.handler.codec.http.FullHttpRequest>
| 构造器和说明 |
|---|
WeChatChannel() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
channelRead0(io.netty.channel.ChannelHandlerContext channelHandlerContext,
io.netty.handler.codec.http.FullHttpRequest fullHttpRequest) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
异常信息记录
|
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharableprotected void channelRead0(io.netty.channel.ChannelHandlerContext channelHandlerContext,
io.netty.handler.codec.http.FullHttpRequest fullHttpRequest)
throws Exception
channelRead0 在类中 io.netty.channel.SimpleChannelInboundHandler<io.netty.handler.codec.http.FullHttpRequest>Exceptionpublic void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
throws Exception
exceptionCaught 在接口中 io.netty.channel.ChannelHandlerexceptionCaught 在接口中 io.netty.channel.ChannelInboundHandlerexceptionCaught 在类中 io.netty.channel.ChannelInboundHandlerAdapterctx - cause - ExceptionCopyright © 2023. All rights reserved.