I have RestTemplate
interceptor for set requestId
to request header and response header but in case request timeout, I can't get response object and can't set requestId
to response header.
The client that use RestTemplate
need to know requestId
for do something when the request timeout but it can't get the value, How to parse requestId
from interceptor to the client or parse to response header?
thank you