Skip to content

Commit

Permalink
Merge pull request #37726 from SimonVerhoeven
Browse files Browse the repository at this point in the history
* pr/37726:
  Add reference to the new RestClient class in documentation

Closes gh-37726
  • Loading branch information
mhalbritter committed Oct 5, 2023
2 parents fbec06a + d0cadd9 commit cfb6ee2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ You can then use `@ImportRuntimeHints` on any `@Configuration` class (for exampl

If you have classes which need binding (mostly needed when serializing or deserializing JSON), you can use {spring-framework-docs}/core.html#aot-hints-register-reflection-for-binding[`@RegisterReflectionForBinding`] on any bean.
Most of the hints are automatically inferred, for example when accepting or returning data from a `@RestController` method.
But when you work with `WebClient` or `RestTemplate` directly, you might need to use `@RegisterReflectionForBinding`.
But when you work with `WebClient`, `RestClient` or `RestTemplate` directly, you might need to use `@RegisterReflectionForBinding`.

[[native-image.advanced.custom-hints.testing]]
==== Testing custom hints
Expand Down

0 comments on commit cfb6ee2

Please sign in to comment.