I'm implementing EndpointInterceptor to record the incoming request and outgoing request for auditing. The interface defines a handleRequest method and a handleResponse method.

I need to have the request/response associated in a single row in the database. How do I pass an Id from the handleRequest method to the handleResponse?