Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #26265

Re: How to get the size of the HTTPResponse

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From markspace <markspace@nospam.nospam>
Newsgroups comp.lang.java.programmer
Subject Re: How to get the size of the HTTPResponse
Date Wed, 09 Oct 2013 17:17:56 -0700
Organization A noiseless patient Spider
Lines 20
Message-ID <l34rnn$j4f$1@dont-email.me> (permalink)
References <06aca5db-af01-4251-b5e4-ce24a677e7b5@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Thu, 10 Oct 2013 00:18:00 +0000 (UTC)
Injection-Info mx05.eternal-september.org; posting-host="9185b88a2b5381a82810209530bb8295"; logging-data="19599"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19qEjTSP1SH9KCaXLVsJEjGLCr/LQfw4Mo="
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8
In-Reply-To <06aca5db-af01-4251-b5e4-ce24a677e7b5@googlegroups.com>
Cancel-Lock sha1:AcMYGD9wBPG0y/uqES8OoLABBA0=
Xref csiph.com comp.lang.java.programmer:26265

Show key headers only | View raw


On 10/9/2013 4:54 PM, Kiran Bagga wrote:
> Hi
>
>
> Maybe I am over thinking this or doing something dumb, But I cant
> seem to extract the right size of the HttpResponse object on the
> server side. I need it to log the number of response bytes. Any
> suggestions??
>


What have you tried?  Did you account for filters that may be modifying 
the stream after you count it?

Overall, I think I'd try my firewall first.  It seems to me that's a 
sure fire method of accounting for network traffic.  Programming comes 
second.

What's the need driving knowing what the byte output count?

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How to get the size of the HTTPResponse Kiran Bagga <kbagga@gmail.com> - 2013-10-09 16:54 -0700
  Re: How to get the size of the HTTPResponse markspace <markspace@nospam.nospam> - 2013-10-09 17:17 -0700
  Re: How to get the size of the HTTPResponse Arne Vajhøj <arne@vajhoej.dk> - 2013-10-09 22:48 -0400
    Re: How to get the size of the HTTPResponse Kiran Bagga <kbagga@gmail.com> - 2013-10-10 10:20 -0700
      Re: How to get the size of the HTTPResponse Robert Klemme <shortcutter@googlemail.com> - 2013-10-10 23:05 +0200
      Re: How to get the size of the HTTPResponse Arne Vajhøj <arne@vajhoej.dk> - 2013-10-10 22:59 -0400
        Re: How to get the size of the HTTPResponse Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2013-10-13 09:45 +0200
  Re: How to get the size of the HTTPResponse Roedy Green <see_website@mindprod.com.invalid> - 2013-10-17 15:43 -0700

csiph-web