public class HttpResponseClientHandler
extends io.netty.channel.SimpleChannelInboundHandler<io.netty.handler.codec.http.HttpObject>
HttpSnoopClientHandler that uses a BlockingQueue to wait until an
HTTPResponse is received.| Constructor and Description |
|---|
HttpResponseClientHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
void |
messageReceived(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.HttpObject msg) |
BlockingQueue<io.netty.channel.ChannelFuture> |
queue() |
acceptInboundMessage, channelReadbind, channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, close, connect, deregister, disconnect, flush, handlerAdded, handlerRemoved, isSharable, read, userEventTriggered, writepublic void messageReceived(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.HttpObject msg)
messageReceived in class io.netty.channel.SimpleChannelInboundHandler<io.netty.handler.codec.http.HttpObject>public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in class io.netty.channel.ChannelHandlerAdapterpublic BlockingQueue<io.netty.channel.ChannelFuture> queue()
Copyright © 2008–2015 The Netty Project. All rights reserved.