Request.selectVariant unimplemented
-----------------------------------
Key: CXF-2904
URL: https://issues.apache.org/jira/browse/CXF-2904
Project: CXF
Issue Type: Bug
Components: JAX-RS
Affects Versions: 2.2.9
Reporter: Donal Fellows
Is the implementation of the {{javax.ws.rs.core.Request}} interface incomplete?
I ask because I was trying to use its {{selectVariant}} method and always
getting a {{null}} returned, even when doing an exact match between a supplied
singleton variant list and the input type. A simple, perfect match opportunity
is completely missed...
I worked around it by using {{HttpHeaders}} instead, but that requires manual
work on the behalf of implementors so it's less than ideal. FWIW, my workaround
is rather messy and only handles a limited subset of what variant matching is
supposed to do (but it is enough for my immediate requirements).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.