protected void captureRequestSize(HttpContent httpContent){
  ByteBuf bufferedContent=httpContent.content();
  int contentSize=bufferedContent.readableBytes();
  requestBodySize.addAndGet(contentSize);
}

protected void captureRequestSize ( HttpContent httpContent ) { ByteBuf bufferedContent = httpContent . content ( ) ; int contentSize = bufferedContent . readableBytes ( ) ; requestBodySize . addAndGet ( contentSize ) ; }
adds the size of this httpcontent to the requestbodysize .
