You could also add a writeToChannel method in HttpChunkedMessage and pass it the channel. Your call.