The LoggerInterceptor will override the following methods-
preHandle() - This method is used to intercept the request before it is handed over to the handler method. If It turns a boolean value, true : continue the handler execution chain; false , stop the execution chain and return it.
postHandle() - This method is used to intercept the request after the handler execution, Here user can manipulate the ModelAndView object before render it to view page.
afterCompletion() - This is a HandlerInterceptor callback method called after the complete request has finished.