ClickThroughEventHandler Class

com.bea.p13n.tracking.clickthrough
ClickThroughEventHandler Class

public class ClickThroughEventHandler

    extends Object

This singleton fires off events based on HttpServletRequest information.


Hierarchy
Object
  ClickThroughEventHandler

Field Summary

protected static final TrackingExceptionTextFormatter
exceptionFormatter
TrackingExceptionTextFormatter
 

Method Summary

public synchronized void
fireEvent(HttpServletRequest req)
Extracts EVENT_TYPE information from the HttpServletRequest and fires an event by extracting related information from the HttpServletRequest.
public static ClickThroughEventHandler
getInstance()
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   

Field Detail

exceptionFormatter

protected static final TrackingExceptionTextFormatter exceptionFormatter

 

Method Detail

fireEvent(HttpServletRequest) Method

public synchronized void fireEvent(HttpServletRequest req)
throws InvalidArgumentException
Extracts EVENT_TYPE information from the HttpServletRequest and fires an event by extracting related information from the HttpServletRequest. Expects the caller to handle any invocation errors.
If the event type attribute is not found in the HttpServletRequest - does not fire an event.

Parameters

req
The HttpServletRequest.

Exceptions

InvalidArgumentException

getInstance() Method

public static ClickThroughEventHandler getInstance()