@Override
    protected void channelRead0(ChannelHandlerContext ctx, HttpRequest req) throws Exception {
        if (req.getUri().equals("/status") || req.getUri().equals("/status/")) {
            String url = req.getUri();
            controller.IncreaseCount();
            controller.addToIpMap(ctx);
            responseContent.setLength(0);
            AppendTable();
            FullHttpResponse response = new DefaultFullHttpResponse(HTTP_1_1, OK,
                    Unpooled.unreleasableBuffer(Unpooled.copiedBuffer(responseContent.toString(), CharsetUtil.UTF_8)));
            response.headers().set(CONTENT_TYPE, "text/html");
            response.headers().set(CONTENT_LENGTH, response.content().readableBytes());
            ctx.writeAndFlush(response).addListener(ChannelFutureListener.CLOSE);
            controller.addToConnectionDeque(ctx, url);
        } else {
            ctx.fireChannelRead(req);
        }
    }