com.atlassian.confluence.test.rpc
Class RequestLogger

java.lang.Object
  extended by 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:
v5.4

Constructor Summary
RequestLogger()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestLogger

public RequestLogger()
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

finishLoggingRequests

public List<String> finishLoggingRequests()
Finish logging urls of http requests.

Returns:
logged urls of http requests


Copyright © 2003–2015 Atlassian. All rights reserved.