[undertow-dev] undertow http client - howto long polling xhr?

Brian Clozel bclozel at pivotal.io
Fri Sep 19 12:41:55 EDT 2014


Hi,

I'd like to build an HTTP client that receives chunks of data as part of a
long polling HTTP request, using Undertow's HTTP client. So in a way, I'd
need callback methods like "onHeader" and "onContent".

>From what I read in UndertowClient and HttpClientConnection, it looks like
the http client is parsing the *whole* HTTP response and does not provide
those callbacks.

Is there a way to achieve this?
If not, does this qualify as an interesting feature for undertow's HTTP
client?

Thanks,
-- 
Brian Clozel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/undertow-dev/attachments/20140919/ed4e3628/attachment.html 


More information about the undertow-dev mailing list