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

Spring webflux WebClient HttpStatus::is4xxServerError #22241

Closed
pavlomorozov opened this issue Jan 11, 2019 · 0 comments
Closed

Spring webflux WebClient HttpStatus::is4xxServerError #22241

pavlomorozov opened this issue Jan 11, 2019 · 0 comments
Assignees
Labels
type: documentation A documentation task
Milestone

Comments

@pavlomorozov
Copy link

Manual at https://docs.spring.io/spring/docs/5.0.9.RELEASE/spring-framework-reference/web-reactive.html#webflux-client mentions this example code line:

.onStatus(HttpStatus::is4xxServerError, response -> ...)

But problem is is4xxServerError method not exist. Most similar method I found is is4xxClientError. But as 4xx error status returns by server, not by client this method name seems strange. Any way manual not fit with code

@rstoyanchev rstoyanchev added the status: waiting-for-triage An issue we've not yet triaged or decided on label Jan 11, 2019
@poutsma poutsma self-assigned this Jan 14, 2019
@poutsma poutsma added type: documentation A documentation task and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Jan 14, 2019
@poutsma poutsma added this to the 5.2 RC1 milestone Jan 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: documentation A documentation task
Projects
None yet
Development

No branches or pull requests

3 participants