[undertow-dev] [SPDY/HTTP2] How to use server push
Stuart Douglas
sdouglas at redhat.com
Mon Jan 12 17:13:31 EST 2015
Both, although with SPDY the request header map will be ignored, as the
underlying protocol does not support it.
Stuart
Guillaume Drouet wrote:
> Thanks! Is it related to HTTP2, SPDY or both protocols?
>
> 2015-01-12 23:00 GMT+01:00 Stuart Douglas <sdouglas at redhat.com
> <mailto: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
> <mailto:guidrouet at gmail.com>>
> > To: undertow-dev at lists.jboss.org
> <mailto: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 <mailto:undertow-dev at lists.jboss.org>
> > https://lists.jboss.org/mailman/listinfo/undertow-dev
>
>
>
>
> --
> Guillaume DROUET
More information about the undertow-dev
mailing list