private void resetState() {
    request = null;
    lastChannelReadTime = null;
    requestContentFullyReceived = false;
    responseChannel = new NettyResponseChannel(ctx, nettyMetrics, performanceConfig, nettyConfig);
    logger.trace("Refreshed state for channel {}", ctx.channel());
  }
Resets the state of the processor in preparation for the next request.
ambry-rest/src/main/java/com/github/ambry/rest/NettyMessageProcessor.java