@Override
public NextAction handleRead(final FilterChainContext ctx) throws IOException {
final Connection connection = ctx.getConnection();
final HttpContent httpContent = ctx.getMessage();
final HttpRequestPacket request = (HttpRequestPacket) httpContent.getHttpHeader();
final URI requestURI;
try {
final String uri = request.getQueryString() == null ?
request.getRequestURI() :
request.getRequestURI() + "?" + request.getQueryString();