public class RequestLog extends Object
RequestLog requestLog = new RequestLog(rpc); requestLog.start(); try { // do something } finally { requestLog.finish(); } List<String> requestUrls = requestLog.getRequestUrls();
Constructor and Description |
---|
RequestLog(ConfluenceRpc rpc) |
Modifier and Type | Method and 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.
|
public RequestLog(ConfluenceRpc rpc)
Copyright © 2003–2015 Atlassian. All rights reserved.