cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CXF-2904) Request.selectVariant unimplemented
Date Wed, 28 Jul 2010 21:40:20 GMT

    [ https://issues.apache.org/jira/browse/CXF-2904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12893380#action_12893380
] 

Sergey Beryozkin commented on CXF-2904:
---------------------------------------

http://svn.apache.org/viewvc?rev=980236&view=rev



> 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.


Mime
View raw message