Class RequestLogInterceptor

java.lang.Object
com.aquima.web.webinterceptor.RequestLogInterceptor
All Implemented Interfaces:
org.springframework.web.servlet.HandlerInterceptor

@Component public class RequestLogInterceptor extends Object implements org.springframework.web.servlet.HandlerInterceptor
Interceptor to log incoming requests.
Since:
6.2
Author:
Jon van Leuven
  • Constructor Summary

    Constructors
    Constructor
    Description
    RequestLogInterceptor(com.blueriq.component.api.security.IAuthorisationManager authorizationManager, com.blueriq.component.api.IAquimaSessionsMap sessionManager)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    afterCompletion(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Object handler, Exception ex)
     
    protected void
    logRequestPost(javax.servlet.http.HttpServletRequest request)
     
    protected void
    logRequestShort(javax.servlet.http.HttpServletRequest request)
     
    boolean
    preHandle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Object handler)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.web.servlet.HandlerInterceptor

    postHandle
  • Constructor Details

    • RequestLogInterceptor

      @Autowired public RequestLogInterceptor(com.blueriq.component.api.security.IAuthorisationManager authorizationManager, com.blueriq.component.api.IAquimaSessionsMap sessionManager)
  • Method Details

    • preHandle

      public boolean preHandle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Object handler) throws Exception
      Specified by:
      preHandle in interface org.springframework.web.servlet.HandlerInterceptor
      Throws:
      Exception
    • afterCompletion

      public void afterCompletion(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Object handler, Exception ex)
      Specified by:
      afterCompletion in interface org.springframework.web.servlet.HandlerInterceptor
    • logRequestPost

      protected void logRequestPost(javax.servlet.http.HttpServletRequest request)
    • logRequestShort

      protected void logRequestShort(javax.servlet.http.HttpServletRequest request)