android - Measuring byte count downloaded via twitter4j -


i want measure number of bytes downloaded twitter4j when doing various operations. there easy way or going need modify sources?

for example, when this:

list<status> statuses = twitter.getusertimeline(); 

i want find out downloaded 28,757 (i made number in case, match result doing equivalent using curl).

update: after digging code little bit, looks may have re-implement twitterimpl.get() , twitterimpl.post() want.


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -