hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "droidin.net" <dr...@droidin.net>
Subject Reading and terminating stream in HttpClient 4
Date Mon, 17 Aug 2009 18:27:50 GMT


Here's what I need to do
1. Read response as a stream 
2. Feed it into SAX-based HTML parser "on the fly"
3. When certain tag is detected - terminate the stream

In other words - I'm reading large documents from which I only need top 5%,
can I do it with HttpClient 4?

Thanks for your suggestions
View this message in context: http://www.nabble.com/Reading-and-terminating-stream-in-HttpClient-4-tp25011802p25011802.html
Sent from the HttpClient-User mailing list archive at Nabble.com.

To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org

View raw message