users@jersey.java.net

[Jersey] Re: Provider media type matching?

From: Martynas Jusevi?ius <martynas_at_graphity.org>
Date: Mon, 16 Jul 2012 21:14:55 +0300

Mike,

have you registered them in Application.getClasses()/getSingletons()?

Martynas
graphity.org

On Mon, Jul 16, 2012 at 9:12 PM, Mike Summers <msummers57_at_gmail.com> wrote:
> 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?
>
>