public class MyResponseWrapper extends javax.servlet.ServletResponseWrapper {
   private int contentLength = -1;

   public MyResponseWrapper(ServletResponse response) {
      super(response);
   }

   public void setContentLength(int cl) {
      super.setContentLength(cl);
      this.contentLength = cl;
   }

   public int getContentLength() {
      return contentLength;
   }
}

   



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/How-to-log-page-on-load-time-page-size-tp5719514p5719536.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to