ClickThroughServlet Class

com.bea.p13n.tracking.clickthrough
ClickThroughServlet Class

public class ClickThroughServlet

    extends HttpServlet

This servlet redirects a user to an external site and fires off a click event. The type of click event to be fired is decided based on HttpServletRequest parameters.


Hierarchy
Object
  GenericServlet
    HttpServlet
      ClickThroughServlet
All Implemented Interfaces

Serializable, Servlet, ServletConfig

Constructor Summary

ClickThroughServlet()

 

Method Summary

public void
doGet(HttpServletRequest req, HttpServletResponse res)
public void
doPost(HttpServletRequest req, HttpServletResponse res)
public void
init(ServletConfig config)
Initializes the servlet.
 
Methods from  javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods from  javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log, service
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   
Methods from interface javax.servlet.Servlet
destroy, getServletConfig, getServletInfo, init, service
 
Methods from interface javax.servlet.ServletConfig
getInitParameter, getInitParameterNames, getServletContext, getServletName
 

Constructor Detail

ClickThroughServlet

public ClickThroughServlet()
 

Method Detail

doGet(HttpServletRequest, HttpServletResponse) Method

public void doGet(HttpServletRequest req, 
                  HttpServletResponse res)
throws ServletException, IOException
Overrides
HttpServlet.doGet(HttpServletRequest, HttpServletResponse)

Exceptions

ServletException
IOException

doPost(HttpServletRequest, HttpServletResponse) Method

public void doPost(HttpServletRequest req, 
                   HttpServletResponse res)
throws ServletException, IOException
Overrides
HttpServlet.doPost(HttpServletRequest, HttpServletResponse)

Exceptions

ServletException
IOException

init(ServletConfig) Method

public void init(ServletConfig config)
throws ServletException
Initializes the servlet.

Overrides
GenericServlet.init(ServletConfig)

Parameters

config
a ServletConfig configuration

Exceptions

ServletException