Hi Jerome and all, Background: I've two implementations where I need a custom Call. That is not a problem since there is the WrapperCall that makes it easy to implement. But at the Restlet#handle(Call call) method I've to do the cast to my Call implementation.
Solution: public interface Restlet<T extends Call> { public void handle(T call); // .... } public abstract AbstractRestlet<T extends Call> implements Restlet<T> { public void handleGet(T call) { // ... } // ... } Now I can use MyCall and Java will do the casts for me. :) What do you think? BTW: http://www.restlet.org/ does not respond (time out). Best regards, Lars -- http://semagia.com