Package com.atlassian.confluence.it.rpc
Class RequestLog
- java.lang.Object
-
- com.atlassian.confluence.it.rpc.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
-
-
Constructor Summary
Constructors Constructor Description RequestLog(ConfluenceRpc rpc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
finish()
Finish logging urls of http requests.List<String>
getRequestUrls()
Return logged urls of http requests.void
start()
Start logging urls of http requests.
-
-
-
Constructor Detail
-
RequestLog
public RequestLog(ConfluenceRpc rpc)
-
-