Netty 4 Refactoring - method refactoring