Hi all,

I ran against a problem with the 1.2 Filter. The filter does not let
me specify that 'next' is a ServerResource.

I propose to change Filter as follows:

- Add method "setNext(Class<? extends UniformResource> targetClass)"
  or "setNext(Class<?> targetClass)"
- Remove "setNext(Class<? extends Resource> targetClass)"
- Add a constructor that takes either Class<?> or Class<? extends
  UniformResource) just to be consistent (since it has already a
  constructor "Filter(Context context, Restlet next)")



Best regards,
Lars
-- 
http://www.semagia.com

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=1628327

Reply via email to