[
https://issues.apache.org/jira/browse/CXF-4914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stian Soiland-Reyes updated CXF-4914:
-------------------------------------
Description:
The link() and links() methods (and others) are unimplemented in
ResponseBuilderImpl.
Rather than raise a NotImplementedException or similar, the current code seems
to be autogenerated by Eclipse and returns null rather than a Builder.
I've suggested a patch at https://github.com/apache/cxf/pull/5 from
https://github.com/stain/cxf/tree/jaxrs-responsebuilder-nulls which implements
each of the missing methods. Unit tests are included.
was:
The link() and links() methods (and others) are unimplemented in
ResponseBuilderImpl.
Rather than raise a NotImplementedException or similar, the current code seems
to be autogenerated by Eclipse and returns null rather than a Builder.
I've suggested a patch at https://github.com/apache/cxf/pull/4 from
https://github.com/stain/cxf/tree/jaxrs-responsebuilder-link
> ResponseBuilderImpl returns null on link() and links()
> ------------------------------------------------------
>
> Key: CXF-4914
> URL: https://issues.apache.org/jira/browse/CXF-4914
> Project: CXF
> Issue Type: Bug
> Components: JAX-RS
> Affects Versions: 2.7.3
> Reporter: Stian Soiland-Reyes
> Priority: Minor
> Labels: jax-rs, link, response
> Fix For: 2.7.4
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> The link() and links() methods (and others) are unimplemented in
> ResponseBuilderImpl.
> Rather than raise a NotImplementedException or similar, the current code
> seems to be autogenerated by Eclipse and returns null rather than a Builder.
> I've suggested a patch at https://github.com/apache/cxf/pull/5 from
> https://github.com/stain/cxf/tree/jaxrs-responsebuilder-nulls which
> implements each of the missing methods. Unit tests are included.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira