June 2014
Beginner to intermediate
304 pages
7h 25m
English
Every web request takes a certain amount of time to get processed in the server. In order to find out how much time it takes to process a web request, we need to calculate the time difference between the start time and end time of the web request process. We can achieve this using the interceptor concept. Let's configure our own interceptor in our project to log the execution time of each web request by performing the following steps:
pom.xml—you can find pom.xml under the root directory of the project itself.pom.xml file; select the Dependencies tab and click on the Add button of the Dependencies section.