cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Romain Manni-Bucau (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-6514) endpoints returning String can't use a custom provider
Date Tue, 04 Aug 2015 11:01:04 GMT

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

Romain Manni-Bucau commented on CXF-6514:
-----------------------------------------

I get the logic but dont see how it can match a real case ie exact produce type should win
over java type no?

Anyway do you care treating this case in the cxf doc/site please?

> endpoints returning String can't use a custom provider
> ------------------------------------------------------
>
>                 Key: CXF-6514
>                 URL: https://issues.apache.org/jira/browse/CXF-6514
>             Project: CXF
>          Issue Type: Bug
>            Reporter: Romain Manni-Bucau
>            Assignee: Sergey Beryozkin
>
> Seems sorting of providers in ServerProviderFactory is done in a way you cant override
the provider used for String type even using a custom @Produces type cause StringTextProvider
si always selected.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message