[
https://issues.apache.org/jira/browse/CXF-7903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16691119#comment-16691119
]
Thorsten Glaser commented on CXF-7903:
--------------------------------------
This is ridiculed by the virtue of {{ResponseImpl}} — the {{r}} in the above
code snippet — explicitly implementing a helpful method like
{{createStatusType}}…
> AbstractResponseContextImpl.setStatusInfo() is kidding me
> ---------------------------------------------------------
>
> Key: CXF-7903
> URL: https://issues.apache.org/jira/browse/CXF-7903
> Project: CXF
> Issue Type: Bug
> Components: JAX-RS
> Affects Versions: 3.2.7
> Reporter: Thorsten Glaser
> Priority: Major
>
> The method {{AbstractResponseContextImpl.setStatusInfo(status)}} calls
> {{r.setStatus(status.getStatusCode())}} instead of
> {{r.setStatusInfo(status)}} which is completely disabling the ability to set
> custom HTTP response status phrases.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)