users@jax-rs-spec.java.net

[jax-rs-spec users] ClientRequestFilter sorting order

From: Sergey Beryozkin <sberyozkin_at_talend.com>
Date: Thu, 3 Mar 2016 10:47:42 +0000

We've had a JIRA issue opened against CXF to do with CXF sorting
ClientRequestFilters in the ascending order.
The JIRA was opened after one of TCK tests failed, asserting that the
ClientRequestFilters get sorted in the descending order.

 From the spec, section 6.6:

"Execution chains for extension points ContainerRequest ,
PreMatchContainerRequest , *ClientRequest* , ReadFrom and WriteTo
are sorted in ascending order"

Spec leads, can you please clarify if CXF is right or not. I can not see
why it can not be in this case given the quoted specification text.


Thanks, Sergey