Extends the ServletResponse interface to provide HTTP-specific
functionality in sending a response. For example, it has methods
to access HTTP headers and cookies.
The servlet container creates an HttpServletResponse object
and passes it as an argument to the servlet's service methods
(doGet, doPost, etc).
The servlet container creates an
HttpServletResponseobject and passes it as an argument to the servlet's service methods (doGet,doPost, etc).