dev@jsr311.java.net

what type for writer matching?

From: Bill Burke <bburke_at_redhat.com>
Date: Wed, 09 Apr 2008 09:37:34 -0400

So,

What should the jax-rs runtime match a MEssageBodyWriter to the return
entity to?

The object's class? or the method return type?

I have a user that wants to match based on the returned object's class
as his method return a base interface that won't match the desired provider.


So, I guess match based on the entity's concrete class and the method
generic type?


Thanks,

Bill


-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com