[undertow-dev] [SPDY/HTTP2] How to use server push

Guillaume Drouet guidrouet at gmail.com
Mon Jan 12 17:12:48 EST 2015


Thanks! Is it related to HTTP2, SPDY or both protocols?

2015-01-12 23:00 GMT+01:00 Stuart Douglas <sdouglas at redhat.com>:

> This is implemented in Undertow 1.2:
>
>
> https://github.com/undertow-io/undertow/blob/master/core/src/main/java/io/undertow/server/ServerConnection.java#L230
>
> The reverse proxy also supports this, so pushed responses from the back
> end will be pushed onwards to the client.
>
> We also have a handler that attempts to learn what resources are needed
> for each request and push automatically:
>
>
> https://github.com/undertow-io/undertow/blob/master/core/src/main/java/io/undertow/server/handlers/LearningPushHandler.java
>
> Stuart
>
> ----- Original Message -----
> > From: "Guillaume Drouet" <guidrouet at gmail.com>
> > To: undertow-dev at lists.jboss.org
> > Sent: Tuesday, 13 January, 2015 8:52:38 AM
> > Subject: [undertow-dev] [SPDY/HTTP2] How to use server push
> >
> > Hi,
> >
> > I'm curious to know if Undertow already provides an API which allows to
> push
> > static resources thanks to SPDY and/or HTTP2 protocol.
> >
> > For example, jetty provides this kind of API for SPDY:
> >
> http://www.eclipse.org/jetty/documentation/9.2.2.v20140723/spdy-implementing-push.html
> >
> > I did not find any equivalent for Undertow.
> >
> > Thanks!
> >
> > --
> > Guillaume DROUET
> >
> > _______________________________________________
> > undertow-dev mailing list
> > undertow-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/undertow-dev
>



-- 
Guillaume DROUET
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/undertow-dev/attachments/20150112/f1bfee5b/attachment.html 


More information about the undertow-dev mailing list