+

Search Tips   |   Advanced Search

CustomLogEvent class

Get an overview of the CustomLogEvent class and its methods. The CustomLogEvent class is used to access the data logged with a CustomLog bean.

Method Explanation

    public CustomLogEvent( HttpServletRequest request,
                           Hashtable          customData )
Constructor.

    public Hashtable getCustomData( )
Returns the custom data as key value information. Since a single custom data key can have multiple values, the custom data values are stored in the hashtable as String arrays.

    public void setCustomData( Hashtable customData )
Sets the custom data for this event. Can be used by custom listeners to replace the data in this custom data event.

    public String toString( )
Returns a String representation of this event.

Parent topic: LogEvent class