-
Notifications
You must be signed in to change notification settings - Fork 298
Kryo Serializer
martin-g edited this page Jun 8, 2011
·
1 revision
is an implementation of org.apache.wicket.serialize.ISerializer
for Wicket 1.5
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.
serializer-kryo 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!