Hi Guilherme,
thanks for chiming in. Let me consider this. Added as a new sub-task:
http://java.net/jira/browse/JAX_RS_SPEC-111
Marek
On 06/07/2011 12:06 AM, Guilherme Silveira wrote:
> I don't use it in Java EE but in other apis we use features to
> customize any kind of api behavior. In this case, for me, Interceptors
> are one type of features so:
>
> new DefaultConfiguration().with(MyResponseFIlter.class).with(new
> MyResponseFilter()) would be a way to configure it. It doesnt mean
> that ResponseFilter inherits from Feature, but I like avoiding Strings
> as much as possible for configuration.