org.apache.wicket.protocol.http
Class IRequestLogger.RequestData
java.lang.Object
org.apache.wicket.protocol.http.IRequestLogger.RequestData
- All Implemented Interfaces:
- java.io.Serializable, IClusterable
- Enclosing interface:
- IRequestLogger
public static class IRequestLogger.RequestData
- extends java.lang.Object
- implements IClusterable
This class hold the information one request of a session has.
- Author:
- jcompagner
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
IRequestLogger.RequestData
public IRequestLogger.RequestData()
getTimeTaken
public java.lang.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 java.lang.Object getSessionInfo()
- Returns:
- The session object info, created by
IRequestLogger.ISessionLogInfo.getSessionInfo()
setSessionInfo
public void setSessionInfo(java.lang.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(java.lang.String id)
- Parameters:
id
-
getStartDate
public java.util.Date getStartDate()
- Returns:
- The time taken for this request
getEventTarget
public IRequestHandler getEventTarget()
- Returns:
- The event target string
getResponseTarget
public IRequestHandler getResponseTarget()
- Returns:
- The response target string
getRequestedUrl
public java.lang.String getRequestedUrl()
- Returns:
- the requested URL by the browser
setRequestedUrl
public void setRequestedUrl(java.lang.String requestedUrl)
- Parameters:
requestedUrl
-
setResponseTarget
public void setResponseTarget(IRequestHandler target)
- Parameters:
target
-
setEventTarget
public void setEventTarget(IRequestHandler target)
- Parameters:
target
-
setTimeTaken
public void setTimeTaken(long timeTaken)
- Parameters:
timeTaken
-
addEntry
public void addEntry(java.lang.String string)
- Parameters:
string
-
getAlteredObjects
public java.lang.String getAlteredObjects()
- Returns:
- All entries of the objects that are created/updated or removed in this request
getSessionId
public java.lang.String getSessionId()
- Returns:
- The session id for this request
getSessionSize
public java.lang.Long getSessionSize()
- Returns:
- The total session size.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.