You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2010/10/03 23:01:35 UTC
[jira] Resolved: (CXF-2904) Request.selectVariant unimplemented
[ https://issues.apache.org/jira/browse/CXF-2904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Beryozkin resolved CXF-2904.
-----------------------------------
Assignee: Sergey Beryozkin
Fix Version/s: 2.3
Resolution: Fixed
> 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
> Assignee: Sergey Beryozkin
> Fix For: 2.3
>
>
> 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.