Class WrsAccessLogEvent

  • All Implemented Interfaces:
    java.io.Serializable, org.apache.logging.log4j.message.Message

    public class WrsAccessLogEvent
    extends LogEventBase
    This bean contains all information about the log-event
    See Also:
    Serialized Form
    • Constructor Detail

      • WrsAccessLogEvent

        public WrsAccessLogEvent​(java.lang.String accessType,
                                 javax.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, CVS
        request -
        options -
        generator -
        loader -
        writer -
      • WrsAccessLogEvent

        public WrsAccessLogEvent​(java.lang.String accessType,
                                 javax.servlet.http.HttpServletRequest request,
                                 java.lang.String bindingSetName,
                                 org.w3c.dom.Document requestDoc,
                                 long executeDuration,
                                 long writeDuration,
                                 long rsStartTime,
                                 long rsEndTime,
                                 int rowCount,
                                 int columnCount)
        Parameters:
        accessType -
        request -
        bindingSetName -
        requestDoc -
        executeDuration -
        writeDuration -
        rowCount -
        columnCount -
    • Method Detail

      • getAccessType

        public java.lang.String getAccessType()
        Returns:
        the accessType
      • getRequest

        public javax.servlet.http.HttpServletRequest getRequest()
        Returns:
        the request
      • getBindingSetName

        public java.lang.String getBindingSetName()
        Returns:
        the bindingSetName
      • getRequestDoc

        public org.w3c.dom.Document 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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        See Also:
        Object.toString()
      • getFormattedMessage

        public java.lang.String getFormattedMessage()