diff --git a/netty-02-induction/src/main/java/com/kwan/shuyu/demo/EchoServerHandler.java b/netty-02-induction/src/main/java/com/kwan/shuyu/demo/EchoServerHandler.java index f50b7a2df75282702ba5fed810a70f8370bf5854..76a34d4b4b2b3a31278dac6f8f679ed6724190c5 100644 --- a/netty-02-induction/src/main/java/com/kwan/shuyu/demo/EchoServerHandler.java +++ b/netty-02-induction/src/main/java/com/kwan/shuyu/demo/EchoServerHandler.java @@ -23,5 +23,4 @@ public class EchoServerHandler extends ChannelInboundHandlerAdapter { //入栈处理器最后的写入,供出栈处理器读取 ctx.channel()相当于 NioSocketChannel ch ctx.channel().writeAndFlush(ctx.alloc().buffer().writeBytes(msg.toString().getBytes())); } -} - +} \ No newline at end of file