I am writing an application with the following layers:
External Client (e.g. browser) -> My Service -> External API
I have a ClientHeadersFactory which adds some headers to the REST Client I use in My Service to call External API. I was wondering whether it was possible to get information about the client request from my REST Client in My Service to External API? For example, I'd like to know the HTTP method and the endpoint my REST Client is calling. This will impact what headers I add.
Thanks!