org.apache.wicket.protocol.http
Class IRequestLogger.RequestData
java.lang.Object
org.apache.wicket.protocol.http.IRequestLogger.RequestData
- All Implemented Interfaces:
- Serializable, IClusterable
- Enclosing interface:
- IRequestLogger
public static class IRequestLogger.RequestData
- extends Object
- implements IClusterable
This class hold the information one request of a session has.
- Author:
- jcompagner
- See Also:
- Serialized Form
IRequestLogger.RequestData
public IRequestLogger.RequestData()
getTimeTaken
public Long getTimeTaken()
- Returns:
- The time taken for this request
setActiveRequest
public void setActiveRequest(int activeRequest)
- Parameters:
activeRequest
- The number of active request when this request happened
getActiveRequest
public int getActiveRequest()
- Returns:
- The number of active request when this request happened
getSessionInfo
public Object getSessionInfo()
- Returns:
- The session object info, created by
RequestLogger.ISessionLogInfo.getSessionInfo()
setSessionInfo
public void setSessionInfo(Object sessionInfo)
- Set the session info object of the session for this request.
- Parameters:
sessionInfo
-
setSessionSize
public void setSessionSize(long sizeInBytes)
- Parameters:
sizeInBytes
-
setSessionId
public void setSessionId(String id)
- Parameters:
id
-
getStartDate
public Date getStartDate()
- Returns:
- The time taken for this request
getEventTarget
public String getEventTarget()
- Returns:
- The event target string
getResponseTarget
public String getResponseTarget()
- Returns:
- The response target string
addResponseTarget
public void addResponseTarget(String target)
- Parameters:
target
-
addEventTarget
public void addEventTarget(String target)
- Parameters:
target
-
setTimeTaken
public void setTimeTaken(long timeTaken)
- Parameters:
timeTaken
-
addEntry
public void addEntry(String string)
- Parameters:
string
-
getAlteredObjects
public String getAlteredObjects()
- Returns:
- All entries of the objects that are created/updated or removed in this request
getSessionId
public String getSessionId()
- Returns:
- The session id for this request
getSessionSize
public Long getSessionSize()
- Returns:
- The total session size.
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.