类 NettyHttpClientHandler
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.SimpleChannelInboundHandler<io.netty.handler.codec.http.FullHttpResponse>
com.aizuda.easy.retry.client.common.netty.NettyHttpClientHandler
- 所有已实现的接口:
io.netty.channel.ChannelHandler,io.netty.channel.ChannelInboundHandler
public class NettyHttpClientHandler
extends io.netty.channel.SimpleChannelInboundHandler<io.netty.handler.codec.http.FullHttpResponse>
netty 客户端处理器
- 从以下版本开始:
- 1.0.0
-
嵌套类概要
从接口继承的嵌套类/接口 io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidchannelActive(io.netty.channel.ChannelHandlerContext ctx) voidchannelInactive(io.netty.channel.ChannelHandlerContext ctx) protected voidchannelRead0(io.netty.channel.ChannelHandlerContext ctx, io.netty.handler.codec.http.FullHttpResponse msg) voidchannelReadComplete(io.netty.channel.ChannelHandlerContext ctx) voidchannelRegistered(io.netty.channel.ChannelHandlerContext ctx) voidchannelUnregistered(io.netty.channel.ChannelHandlerContext ctx) voidchannelWritabilityChanged(io.netty.channel.ChannelHandlerContext ctx) voidexceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable cause) voiduserEventTriggered(io.netty.channel.ChannelHandlerContext ctx, Object evt) 从类继承的方法 io.netty.channel.SimpleChannelInboundHandler
acceptInboundMessage, channelRead从类继承的方法 io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerAdded, handlerRemoved, isSharable从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 io.netty.channel.ChannelHandler
handlerAdded, handlerRemoved
-
构造器详细资料
-
NettyHttpClientHandler
-
-
方法详细资料
-
channelRead0
protected void channelRead0(io.netty.channel.ChannelHandlerContext ctx, io.netty.handler.codec.http.FullHttpResponse msg) throws Exception - 指定者:
channelRead0在类中io.netty.channel.SimpleChannelInboundHandler<io.netty.handler.codec.http.FullHttpResponse>- 抛出:
Exception
-
channelRegistered
- 指定者:
channelRegistered在接口中io.netty.channel.ChannelInboundHandler- 覆盖:
channelRegistered在类中io.netty.channel.ChannelInboundHandlerAdapter- 抛出:
Exception
-
channelUnregistered
- 指定者:
channelUnregistered在接口中io.netty.channel.ChannelInboundHandler- 覆盖:
channelUnregistered在类中io.netty.channel.ChannelInboundHandlerAdapter- 抛出:
Exception
-
channelActive
- 指定者:
channelActive在接口中io.netty.channel.ChannelInboundHandler- 覆盖:
channelActive在类中io.netty.channel.ChannelInboundHandlerAdapter- 抛出:
Exception
-
channelInactive
- 指定者:
channelInactive在接口中io.netty.channel.ChannelInboundHandler- 覆盖:
channelInactive在类中io.netty.channel.ChannelInboundHandlerAdapter- 抛出:
Exception
-
channelReadComplete
- 指定者:
channelReadComplete在接口中io.netty.channel.ChannelInboundHandler- 覆盖:
channelReadComplete在类中io.netty.channel.ChannelInboundHandlerAdapter- 抛出:
Exception
-
channelWritabilityChanged
- 指定者:
channelWritabilityChanged在接口中io.netty.channel.ChannelInboundHandler- 覆盖:
channelWritabilityChanged在类中io.netty.channel.ChannelInboundHandlerAdapter- 抛出:
Exception
-
exceptionCaught
public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable cause) throws Exception - 指定者:
exceptionCaught在接口中io.netty.channel.ChannelHandler- 指定者:
exceptionCaught在接口中io.netty.channel.ChannelInboundHandler- 覆盖:
exceptionCaught在类中io.netty.channel.ChannelInboundHandlerAdapter- 抛出:
Exception
-
userEventTriggered
public void userEventTriggered(io.netty.channel.ChannelHandlerContext ctx, Object evt) throws Exception - 指定者:
userEventTriggered在接口中io.netty.channel.ChannelInboundHandler- 覆盖:
userEventTriggered在类中io.netty.channel.ChannelInboundHandlerAdapter- 抛出:
Exception
-