users@jax-rs-spec.java.net

[jax-rs-spec users] [jsr339-experts] Re: Distance factor between wildcards

From: Marek Potociar <marek.potociar_at_oracle.com>
Date: Tue, 21 May 2013 15:51:03 +0200

I do not think that more generic providers would win over more specific ones. What use case do you have in mind? Let's try to step through the algorithm.

Marek

On May 20, 2013, at 11:30 PM, Sergey Beryozkin <sberyozkin_at_talend.com> wrote:

> Hi
>
> what is a distance factor between
>
> */* and */*.
>
> Is it 0 ? This means it will let methods or providers declaring no Consumes or Produces win over methods/providers declaring more specific
> media types values.
>
> Sergey