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
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 |
ClickThroughServlet
public ClickThroughServlet()
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