Use:
```java
req.response().end(result);
```
This will safe one ChannelPipeline walk and so is faster.