netty 3를 netty4로 전환하다가.. 많이 부딪혔는데..
https://netty.io/wiki/new-and-noteworthy-in-4.0.html 문서를 참고해야 한다.
예를 들면
- netty 3의 ChannelBuffer는 netty 4에서 ByteBuf로 변경되었다.
- ChannelBuffers.copiedBuffer는 Unpooled.copiedBuffer로 변경되었다.
(import io.netty.buffer.Unpooled)
- ChannelBuffer는 ByteBuf로 변경되었다.