Updated sample code.
Merge branch '2.2' of github.com:restlet/restlet-framework-java into 2.2