From 1766d7598cd97f0d547a8894673ec7b962884960 Mon Sep 17 00:00:00 2001 From: Arjen Poutsma Date: Thu, 5 Oct 2023 10:53:31 +0200 Subject: [PATCH] Minor fixes in RestTemplate to RestClient migration guide See gh-23269 --- .../modules/ROOT/pages/integration/rest-clients.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework-docs/modules/ROOT/pages/integration/rest-clients.adoc b/framework-docs/modules/ROOT/pages/integration/rest-clients.adoc index 45774fb3bc..a85c846e94 100644 --- a/framework-docs/modules/ROOT/pages/integration/rest-clients.adoc +++ b/framework-docs/modules/ROOT/pages/integration/rest-clients.adoc @@ -564,7 +564,7 @@ The following table shows `RestClient` equivalents for `RestTemplate` methods. It can be used to migrate from the latter to the former. .RestClient equivalents for RestTemplate methods -[cols="1,1"] +[cols="1,1", options="header"] |=== | `RestTemplate` method | `RestClient` equivalent @@ -837,7 +837,7 @@ It can be used to migrate from the latter to the former. .headers(Consumer) .body(Object) .retrieve() -.toEntity(Class)` footnote:request-entity[`RequestEntity` method, URI, headers and body have to be supplied to the `RestClient` via `method(HttpMethod)`, `uri(URI)`, headers(Consumer)` and `body(Object)`.] +.toEntity(Class)` footnote:request-entity[`RequestEntity` method, URI, headers and body have to be supplied to the `RestClient` via `method(HttpMethod)`, `uri(URI)`, `headers(Consumer)` and `body(Object)`.] | `exchange(RequestEntity, ParameterizedTypeReference)` | `method(HttpMethod)