From: "Stuart Douglas" <sdouglas(a)redhat.com>
To: "Cédric Tran-Xuan" <cedric.tranxuan(a)motwin.com>
Cc: undertow-dev(a)lists.jboss.org
Sent: Monday, 1 June, 2015 9:14:17 AM
Subject: Re: [undertow-dev] Server-Sent Event and HttpServerExchange
This was basically an oversight on my part. I have fixed this in Undertow
upstream:
https://github.com/undertow-io/undertow/commit/90789748d3b493d7a233a4ef5b...
Stuart
----- Original Message -----
> From: "Cédric Tran-Xuan" <cedric.tranxuan(a)motwin.com>
> To: undertow-dev(a)lists.jboss.org
> Sent: Friday, 22 May, 2015 10:52:36 AM
> Subject: [undertow-dev] Server-Sent Event and HttpServerExchange
>
> Hello,
> We are looking at the recent support of Server-Sent Events in Undertow,
> which
> looks great!
>
> We are using the HttpServerExchange to pass data through different handlers
> (we do it by passing these data via setting Attachments to the
> HttpServerExchange). Ultimately, we need these data, to determine what to
> push to the client via SSE. And as we don't have access to the
> HttpServerExchange from the ServerSentEventConnection, we are a bit stuck.
>
> We imagine we can code some « hack » to do so, but first, we were wondering
> if ever the dev team had some insights that could help us to implement the
> best solution that fits the « Undertow spirit » and our need.
>
> Thanks in advance for your answer.
> Best regards,
>
> Cédric.
>
> PS: may be passing data via Attachments of HttpServerExchange is not the
> best
> practice?
>
> _______________________________________________
> undertow-dev mailing list
> undertow-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/undertow-dev
_______________________________________________
undertow-dev mailing list
undertow-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/undertow-dev