Package de.businesscode.bcdui.web.wrs
Class WrsAccessLogEvent
java.lang.Object
de.businesscode.bcdui.logging.LogEventBase
de.businesscode.bcdui.web.wrs.WrsAccessLogEvent
- All Implemented Interfaces:
Serializable
,org.apache.logging.log4j.message.Message
This bean contains all information about the log-event
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionWrsAccessLogEvent
(String accessType, jakarta.servlet.http.HttpServletRequest request, IRequestOptions options, ISqlGenerator generator, DataLoader loader, IDataWriter writer) Create new log-event and fill it with all information from the parameters.WrsAccessLogEvent
(String accessType, jakarta.servlet.http.HttpServletRequest request, String bindingSetName, Document requestDoc, long executeDuration, long writeDuration, long rsStartTime, long rsEndTime, int rowCount, int columnCount) -
Method Summary
Modifier and TypeMethodDescriptionint
long
jakarta.servlet.http.HttpServletRequest
int
long
long
int
long
toString()
Methods inherited from class de.businesscode.bcdui.logging.LogEventBase
getFormat, getParameters, getThrowable
-
Field Details
-
ACCESS_TYPE_WRS
- See Also:
-
ACCESS_TYPE_SYLK
- See Also:
-
ACCESS_TYPE_CVS
- See Also:
-
ACCESS_TYPE_XLS
- See Also:
-
-
Constructor Details
-
WrsAccessLogEvent
public WrsAccessLogEvent(String accessType, jakarta.servlet.http.HttpServletRequest request, IRequestOptions options, ISqlGenerator generator, DataLoader loader, IDataWriter writer) Create new log-event and fill it with all information from the parameters.- Parameters:
accessType
- - one of WRS, SYLK, CVSrequest
-options
-generator
-loader
-writer
-
-
WrsAccessLogEvent
public WrsAccessLogEvent(String accessType, jakarta.servlet.http.HttpServletRequest request, String bindingSetName, Document requestDoc, long executeDuration, long writeDuration, long rsStartTime, long rsEndTime, int rowCount, int columnCount) - Parameters:
accessType
-request
-bindingSetName
-requestDoc
-executeDuration
-writeDuration
-rowCount
-columnCount
-
-
-
Method Details
-
getAccessType
- Returns:
- the accessType
-
getRequest
public jakarta.servlet.http.HttpServletRequest getRequest()- Returns:
- the request
-
getBindingSetName
- Returns:
- the bindingSetName
-
getRequestDoc
- Returns:
- the requestDoc
-
getExecuteDuration
public long getExecuteDuration()- Returns:
- the executeDuration
-
getWriteDuration
public long getWriteDuration()- Returns:
- the writeDuration
-
getRsStartTime
public long getRsStartTime()- Returns:
- the rsStartTime
-
getRsEndTime
public long getRsEndTime()- Returns:
- the rsEndTime
-
getRowCount
public int getRowCount()- Returns:
- the rowCount
-
getColumnCount
public int getColumnCount()- Returns:
- the columnCount
-
getValueCount
public int getValueCount()- Returns:
- the resultSet values count
-
toString
-
getFormattedMessage
-