Skip to content

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

@ciscoo

Description

@ciscoo

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

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)status: supersededAn issue that has been superseded by anothertype: documentationA documentation task

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions