Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #26296
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | Robert Klemme <shortcutter@googlemail.com> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: How to get the size of the HTTPResponse |
| Date | Thu, 10 Oct 2013 23:05:17 +0200 |
| Lines | 17 |
| Message-ID | <bboj4iF2q26U1@mid.individual.net> (permalink) |
| References | <06aca5db-af01-4251-b5e4-ce24a677e7b5@googlegroups.com> <5256158d$0$293$14726298@news.sunsite.dk> <3281b0ef-b6d8-445b-adc6-36735aa934fc@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Trace | individual.net EQ0+DyjsLcpKsEaB0ygrFwEyreFWecRKnGULSEnBj0zIUXVTM= |
| Cancel-Lock | sha1:aD5mlUHFUOCPqgHHAfu1w7rqdK8= |
| User-Agent | Mozilla/5.0 (Windows NT 6.0; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.0 |
| In-Reply-To | <3281b0ef-b6d8-445b-adc6-36735aa934fc@googlegroups.com> |
| X-Antivirus | avast! (VPS 131010-1, 10.10.2013), Outbound message |
| X-Antivirus-Status | Clean |
| Xref | csiph.com comp.lang.java.programmer:26296 |
Show key headers only | View raw
On 10.10.2013 19:20, Kiran Bagga wrote: > I am using servlet filters. The output body is stored in the > OutputStream. I cant seem to find a way to extract the body from it > and calculate the size. Any suggestions? You should be able to stack another OutputStream on the other one. The stacked stream could then count bytes. Still the problem Mark mentioned remains. Cheers robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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