We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0edf12 commit a31945fCopy full SHA for a31945f
framework-docs/modules/ROOT/pages/integration/rest-clients.adoc
@@ -289,7 +289,7 @@ String result = restClient.get() <1>
289
.uri("https://example.com/this-url-does-not-exist") <1>
290
.retrieve()
291
.onStatus(HttpStatusCode::is4xxClientError, (request, response) -> { <2>
292
- throw new MyCustomRuntimeException(response.getStatusCode(), response.getHeaders()) <3>
+ throw new MyCustomRuntimeException(response.getStatusCode(), response.getHeaders()); <3>
293
})
294
.body(String.class);
295
----
0 commit comments