Request Tracking
Learn Request Tracking (Interceptors, Spring MVC) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.
Fresher Notes Request tracking means giving each request an id and recording counts or timings so one call can be followed across logs and services. An interceptor reads the X-Request-Id header or generates a UUID in preHandle() and sets it on the request and response. Keep the id in the MDC so every log line of that request shows it.