Fix compile error introduced by 6e942a3a20
This commit is contained in:
parent
6e942a3a20
commit
2c5bbb2e21
@ -326,7 +326,7 @@ public abstract class WebSocketClientHandshaker {
|
||||
p.addAfter(ctx.name(), aggregatorName, new HttpObjectAggregator(8192));
|
||||
p.addAfter(aggregatorName, "handshaker", new SimpleChannelInboundHandler<FullHttpResponse>() {
|
||||
@Override
|
||||
protected void channelRead0(ChannelHandlerContext ctx, FullHttpResponse msg) throws Exception {
|
||||
protected void messageReceived(ChannelHandlerContext ctx, FullHttpResponse msg) throws Exception {
|
||||
// Remove ourself and do the actual handshake
|
||||
ctx.pipeline().remove(this);
|
||||
try {
|
||||
|
@ -268,7 +268,7 @@ public abstract class WebSocketServerHandshaker {
|
||||
p.addAfter(ctx.name(), aggregatorName, new HttpObjectAggregator(8192));
|
||||
p.addAfter(aggregatorName, "handshaker", new SimpleChannelInboundHandler<FullHttpRequest>() {
|
||||
@Override
|
||||
protected void channelRead0(ChannelHandlerContext ctx, FullHttpRequest msg) throws Exception {
|
||||
protected void messageReceived(ChannelHandlerContext ctx, FullHttpRequest msg) throws Exception {
|
||||
// Remove ourself and do the actual handshake
|
||||
ctx.pipeline().remove(this);
|
||||
handshake(channel, msg, responseHeaders, promise);
|
||||
|
Loading…
Reference in New Issue
Block a user