Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DefaultResponseErrorHandler should have its methods protected [SPR-15329] #19892

Closed
spring-issuemaster opened this issue Mar 8, 2017 · 0 comments

Comments

Projects
None yet
2 participants
@spring-issuemaster
Copy link
Collaborator

commented Mar 8, 2017

Dmitry Katsubo opened SPR-15329 and commented

Apparently I would like to extend org.springframework.web.client.DefaultResponseErrorHandler and override its handleError() method. However I need access to getHttpStatusCode(), getResponseBody() and getCharset() methods. Please change the signature from private to protected.


Affects: 4.2.6

Issue Links:

  • #21145 DefaultResponseErrorHandler wastes the body of a response with an unknown status

Referenced from: commits ab7db41, e9ff3bb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.