Skip to main content

Extracting Request Path

No replies
ShiveringZombie
Offline
Joined: 2011-05-26
Points: 0

In my application, I have a need to capture the requested Resource Path for auditing purposes. For example, /orders/{id}/lines/{lineId} or /products/ would be something I would like to capture on every request.
I am in need for capturing the URI pattern and not the actual substituted URI. I am hoping to find a central way where all requested URI patterns can be captured, for example in a filter? Any suggestions would be appreciated.