Class RequestLogger
- java.lang.Object
-
- com.atlassian.confluence.test.rpc.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 Summary
Constructors Constructor Description RequestLogger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
finishLoggingRequests()
Finish logging urls of http requests.boolean
isEnabled()
void
logRequest(javax.servlet.http.HttpServletRequest request)
Logs the request url without context path.void
startLoggingRequests()
Start logging urls of http requests.
-
-
-
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
-
-