Class RequestLogger


  • public class RequestLogger
    extends Object
    This class is used to record url of any http requests made during a certain period.
    Since:
    5.4
    • Constructor Detail

      • RequestLogger

        public RequestLogger()
    • Method Detail

      • isEnabled

        public boolean isEnabled()
      • startLoggingRequests

        public void startLoggingRequests()
        Start logging urls of http requests.
      • logRequest

        public void logRequest​(javax.servlet.http.HttpServletRequest request)
        Logs the request url without context path.
        Parameters:
        request - request to log
      • finishLoggingRequests

        public List<String> finishLoggingRequests()
        Finish logging urls of http requests.
        Returns:
        logged urls of http requests