问题 I have customized my actuator/info endpoint and I want to use information from the header to authorize a RestTemplate call to another service. I am implementing the InfoContributor as here: https://www.baeldung.com/spring-boot-info-actuator-custom I want to accept request headers in the contribute() method. For any user defined REST endpoint, I can define a @RequestHeader parameter and access headers. But unfortunately, the InfoContributor 's contribute() method takes only one parameter. How