HttpClientCodecTest build failure due to bad merge
Motivation: Commit 199e1f47cb0019ef45c567e24449f28d4e646a3e introduced a build failure when merged from 4.1. Modifications: - Change channelRead0 to messageReceived Result: HTTP codec builds.
This commit is contained in:
parent
199e1f47cb
commit
a57c16ea39
@ -165,7 +165,7 @@ public class HttpClientCodecTest {
|
||||
ch.pipeline().addLast(new HttpObjectAggregator(4096));
|
||||
ch.pipeline().addLast(new SimpleChannelInboundHandler<FullHttpRequest>() {
|
||||
@Override
|
||||
protected void channelRead0(ChannelHandlerContext ctx, FullHttpRequest msg) {
|
||||
protected void messageReceived(ChannelHandlerContext ctx, FullHttpRequest msg) {
|
||||
// This is just a simple demo...don't block in IO
|
||||
assertTrue(ctx.channel() instanceof SocketChannel);
|
||||
final SocketChannel sChannel = (SocketChannel) ctx.channel();
|
||||
@ -209,7 +209,7 @@ public class HttpClientCodecTest {
|
||||
ch.pipeline().addLast(new HttpObjectAggregator(4096));
|
||||
ch.pipeline().addLast(new SimpleChannelInboundHandler<FullHttpResponse>() {
|
||||
@Override
|
||||
protected void channelRead0(ChannelHandlerContext ctx, FullHttpResponse msg) {
|
||||
protected void messageReceived(ChannelHandlerContext ctx, FullHttpResponse msg) {
|
||||
responseRecievedLatch.countDown();
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user