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

2015-01-12 23:00 GMT+01:00 Stuart Douglas <sdouglas@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@gmail.com>
> To: undertow-dev@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@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/undertow-dev



--
Guillaume DROUET