|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.it.rpc.RequestLog
public class RequestLog
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();
Constructor Summary | |
---|---|
RequestLog(ConfluenceRpc rpc)
|
Method Summary | |
---|---|
void |
finish()
Finish logging urls of http requests. |
java.util.List<java.lang.String> |
getRequestUrls()
Return logged urls of http requests. |
void |
start()
Start logging urls of http requests. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RequestLog(ConfluenceRpc rpc)
Method Detail |
---|
public void start()
public void finish()
public java.util.List<java.lang.String> getRequestUrls()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |