Java Reference
In-Depth Information
It has two parameters:
•
HttpServletRequest
•
HttpServletResponse
It throws these exceptions:
•
ServletException
•
java.io.IOException
The
service(ServletRequest request, ServletResponse response)
Method
public void service(ServletRequest request,
ServletResponse response)
throws ServletException
java.io.Exception
This method implements the
Servlet.service()
method by delegating requests to the appro-
priate HTTP-specific
service()
method. The
service()
method throws a
ServletException
if it cannot service the request and throws a
java.io.IOException
if there was an I/O error.
service()
returns no value.
It has two parameters:
•
ServletRequest
•
ServletResponse
It throws these exceptions:
•
ServletException
•
java.io.IOException
The
HttpSessionBindingEvent
Class
public class HttpSessionBindingEvent
extends java.util.EventObject
The
HttpSessionBindingEvent
class is sent to all objects that implement the
HttpSessionBindingListener
when a listener is bound or unbound from an
HttpSession
.
The
HttpSessionBindingEvent
class has three methods, described in the following sections.
The
HttpSessionBindingEvent()
Method
public HttpSessionBindingEvent(HttpSession session,
java.lang.String name)