Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Generic resource reference to handle with media files located at the file system of the server (out of the box) (also for Wicket 7)

 

Server Push with HTTP2 (

...

Jira
serverASF JIRA
serverId5aa69414-a9e9-3523-82ec-879b028fb15b
keyWICKET-6194
)

We could provide native integration with different web containers to make use of their HTTP2 Push support, e.g. Tomcat 8.5+ provides org.apache.catalina.core.ApplicationPushBuilder.

...

Articles explaining possible solutions for this problem: https://www.mnot.net/blog/2016/04/22/ideal-httphttps://mariusgundersen.net/module-pusher/

Undertow 2.0.0.Alpha1 also provides implementation of PushBuilder

Status

Tomcat: Widget Connectorurlhttps://twittergithub.com/undertow_io/status/717586433205080064

Status

Tomcat: The http/2 setup is rather complex to get it working completely - apache/wicket/tree/master/wicket-experimental/wicket-http2/wicket-http2-tomcat  (Mailing list request: https://www.mail-archive.com/users@tomcat.apache.org/msg121670.html)

Jetty: Working as expected

Undertow: Not tested

Implementation

https://github.com/apache/wicket/tree/master/wicket-experimental/wicket-http2/wicket-http2-jetty

Undertow: https://github.com/apache/wicket/tree/master/wicket-experimental/wicket-http2/wicket-http2-undertow

Implementation

Current implementation can be viewed at: https://github.com/klopfdreh/jetty-http2-example - the only thing to be changed for the other servers is the following code line (apache/wicket/tree/master/wicket-experimental/wicket-http2

Note

When the official servlet 4.0 API has been finished and all servers are using it this line of code: https://github.com/klopfdreh/jetty-http2-exampleapache/wicket/blob/master/de.jetty.wicket.http2.example/wicket-experimental/wicket-http2/wicket-http2-core/src/main/java/deorg/jettyapache/wicket/http2/examplemarkup/head/PushHeaderItem.java#L49) This has java#L91 has to be changed to the standard servlet 4.0 api interface.

Update WicketTester assertions

...