users@jersey.java.net

[Jersey] Provider media type matching?

From: Mike Summers <msummers57_at_gmail.com>
Date: Mon, 16 Jul 2012 13:12:06 -0500

How are @Provider Produces/Consumes types matched?

I have a Provider that both Produces and Consumes Lua, I'd also like to be
able to Consume XML or JSON with the built-in Providers and reply with Lua
from my Provider.

I can't seem to come-up with the right combination of Produces/Consumes
values in my Lua Provider to make this happen but it seems like it should
be possible.

Help?