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

Provide RestClient example in HTTP Interface Exception Handling section of reference docs #31782

Closed
ciscoo opened this issue Dec 7, 2023 · 1 comment
Assignees
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) status: superseded An issue that has been superseded by another type: documentation A documentation task

Comments

@ciscoo
Copy link

ciscoo commented Dec 7, 2023

Affects: 6.1.1

In the exception handling section, I had expected to see an example using the newly added RestClient:

RestClient restClient = RestClient.builder()
    .defaultStatusHandler(HttpStatusCode::isError, (req, res) -> ...)
    .build();

Or maybe even a small callout that the same setup/arrangement exists for RestClient.

The introduction section before it gives example for each client as well:

image
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Dec 7, 2023
@sbrannen sbrannen added type: documentation A documentation task in: web Issues in web modules (web, webmvc, webflux, websocket) and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Dec 9, 2023
@sbrannen sbrannen added this to the 6.1.x milestone Dec 9, 2023
@sbrannen sbrannen changed the title HTTP Interface Exception Handling section only mentions WebClient Provide RestClient example in HTTP Interface Exception Handling section of reference docs Dec 9, 2023
@rstoyanchev rstoyanchev self-assigned this Jan 9, 2024
@rstoyanchev rstoyanchev modified the milestones: 6.1.x, 6.1.3 Jan 9, 2024
@OlgaMaciaszek
Copy link
Contributor

Will get it done.

@rstoyanchev rstoyanchev closed this as not planned Won't fix, can't repro, duplicate, stale Jan 9, 2024
@rstoyanchev rstoyanchev added the status: superseded An issue that has been superseded by another label Jan 9, 2024
@rstoyanchev rstoyanchev removed this from the 6.1.3 milestone Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) status: superseded An issue that has been superseded by another type: documentation A documentation task
Projects
None yet
5 participants