Class RequestLog


  • public class RequestLog
    extends Object
    This helper is used to record url of any http requests made during a certain period.

    Usage example:

     RequestLog requestLog = new RequestLog(rpc);
    
     requestLog.start();
     try
     {
         // do something
     }
     finally
     {
         requestLog.finish();
     }
    
     List<String> requestUrls =  requestLog.getRequestUrls();
     
    Since:
    5.4
    • Method Detail

      • start

        public void start()
        Start logging urls of http requests.
      • finish

        public void finish()
        Finish logging urls of http requests.
      • getRequestUrls

        public List<String> getRequestUrls()
        Return logged urls of http requests.
        Returns:
        logged urls of http requests