Skip to content

Conversation

kdavisk6
Copy link
Member

Fixes #920

FeignException may contain the data from the response if the response is available and contains data. However, the method content is ambiguous and does not reveal its intent. User's have expressed confusion as to if it is for the Request or the Response.

This change adds a new method responseBody to addresses this. Use of content is now @deprecated.

Fixes OpenFeign#920

FeignException may contain the data from the response if the response is available and contains data.  However, the method `content` is ambiguious and does not reveal it's intent.  User's have expressed confusion as to if it is for the Request or the Response.

This change adds a new method `responseBody` to addresse this.  Use of content is now `@deprecated`.
@kdavisk6 kdavisk6 merged commit 9584dfa into OpenFeign:master Dec 31, 2019
@kdavisk6 kdavisk6 deleted the gh-920-clarify-error-response-availability branch December 31, 2019 18:30
@kdavisk6 kdavisk6 added this to the 10.7.1 milestone Jan 12, 2020
velo pushed a commit that referenced this pull request Oct 7, 2024
Fixes #920

FeignException may contain the data from the response if the response is available and contains data.  However, the method `content` is ambiguious and does not reveal it's intent.  User's have expressed confusion as to if it is for the Request or the Response.

This change adds a new method `responseBody` to addresse this.  Use of content is now `@deprecated`.
velo pushed a commit that referenced this pull request Oct 8, 2024
Fixes #920

FeignException may contain the data from the response if the response is available and contains data.  However, the method `content` is ambiguious and does not reveal it's intent.  User's have expressed confusion as to if it is for the Request or the Response.

This change adds a new method `responseBody` to addresse this.  Use of content is now `@deprecated`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FeignException contains request- or response-body
1 participant