users@jax-rs-spec.java.net

[jax-rs-spec users] _at_Priority annotation for exception mappers and ParamConverterProviders

From: Markus KARG <markus_at_headcrashing.eu>
Date: Sun, 25 Sep 2016 19:38:39 +0200

Spec Leads,

Experts,

 

Christian Kaltepoth from the MVC API Expert Group informed us
(https://java.net/projects/jax-rs-spec/lists/users/archive/2016-07/message/3
) that the JAX-RS 2.0 API is ambiguous regarding the order of multiple
exception mappers and parameter converter providers. He filed two JIRA
tickets (https://java.net/jira/browse/JAX_RS_SPEC-532 and
https://java.net/jira/browse/JAX_RS_SPEC-533) about that.

 

I agree with Christian that it is highly problematic to not have a defined
order here, and that the most obvious solution simply would be to allow
@Priority for both use cases.

 

Hence I would kindly ask the spec leads to allow the EG to discuss this
proposal and hopefully adopt it to JSR 370.

 

Thanks

-Markus