cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Donal Fellows (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-2904) Request.selectVariant unimplemented
Date Thu, 22 Jul 2010 01:04:51 GMT
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