users@jersey.java.net

Re: switch providers based on URL

From: Reto Bachmann-Gmür <reto_at_gmuer.ch>
Date: Tue, 30 Nov 2010 16:36:43 +0100

I think it would be a good extension to the jax-rs spec to restrict ceratin
provider to a URI-space.

Cheers,
Reto

On Tue, Nov 30, 2010 at 4:26 PM, Ronak Patel <ronak2121_at_yahoo.com> wrote:

> Hi All,
>
> Does anyone know if we can switch which @Provider JAX-RS Jersey uses based
> on a URI?
>
> I have certain endpoints I want wrapped style JSON (for backward
> compatibility) and certain endpoints I want natural style JSON (for
> everything going forward).
>
> Thanks,
>
> Ronak Patel
>
>