You're reading the documentation for Wicket Stuff 11.x, the current feature line. The 10.x long-term support documentation is the default.
Runtime
Kryo Serializer
KryoSerializer is an implementation of org.apache.wicket.serialize.ISerializer.
Such serializer can be used to convert almost any kind of object to/from byte array. Almost any because Kryo may need your help for some complex graph of objects. Refer to Kryo documentation to understand more about that.
When configured with
public class MyApplication extends WebApplication
{
@Override
public void init()
{
super.init();
getFrameworkSettings().setSerializer(new KryoSerializer());
}
}
it will be used to serialize any page for the IPageStore needs.
It is based on Kryo and kryo-serializers.
Note
The Kryo serializer is not heavily tested so it may have need for more custom serializers for some of the Wicket classes. Let us know if you face a problem by creating an issue. Pull requests are more than welcome!
Maven
<dependency>
<groupId>org.wicketstuff</groupId>
<artifactId>wicketstuff-serializer-kryo2</artifactId>
</dependency>
Import org.wicketstuff:wicketstuff-bom in your dependencyManagement section to manage the version.
The module README has more details.
Source: serializer-kryo2