Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Add an entry for ISerializer

...

WebPage.renderXmlDecl(response) and WebApplication.renderXmlDecl(response) have been introduced to control the xml decl contribution. The behavior can be changed per Page or for your whole application. It can generally be enabled, disabled or determined via a rule. The rule currently is simple: if the page mime-type is application/xhtml+xml and the HTTP_ACCEPT header allows for the same, then insert the xml decl.

(RC5) Pluggable serialization

org.apache.wicket.util.io.IObjectStreamFactory is replaced with org.apache.wicket.serialize.ISerializer.
Now via org.apache.wicket.settings.IFrameworkSettings.setSerializer(ISerializer) it is possible to use different than Java Serialization way to serialize the pages in the IPageStore/IDataStore.

By default Wicket still uses Java Serialization (ObjectOutputStream + ObjectInputStream) to do this job bacause it is tested and stable.
Additionally there is an implementation based on Kryo at WicketStuff. Kryo is faster than Java Serialization and produces smaller byte array for the same object but the implementation at WicketStuff is still young and not so stable.

List of renamed classes and methods

...