[undertow-dev] Server-Sent Event and HttpServerExchange

Cédric Tran-Xuan cedric.tranxuan at motwin.com
Mon Jun 1 04:00:23 EDT 2015


Thanks for the commit! That will helps us for our devs!
Thanks again!

Cédric.

On Mon, Jun 1, 2015 at 9:19 AM, Stuart Douglas <sdouglas at redhat.com> wrote:

> Oops, that commit should have been
> https://github.com/undertow-io/undertow/commit/5bbab054a13e2fe05894be4d9fa37bc9476848ad
>
> Stuart
>
> ----- Original Message -----
> > From: "Stuart Douglas" <sdouglas at redhat.com>
> > To: "Cédric Tran-Xuan" <cedric.tranxuan at motwin.com>
> > Cc: undertow-dev at 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/90789748d3b493d7a233a4ef5ba8ae33032c1543
> >
> > Stuart
> >
> > ----- Original Message -----
> > > From: "Cédric Tran-Xuan" <cedric.tranxuan at motwin.com>
> > > To: undertow-dev at 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 at lists.jboss.org
> > > https://lists.jboss.org/mailman/listinfo/undertow-dev
> >
> > _______________________________________________
> > undertow-dev mailing list
> > undertow-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/undertow-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/undertow-dev/attachments/20150601/00682d84/attachment.html 


More information about the undertow-dev mailing list