Java Reference
In-Depth Information
The doOptions() Method
protected void doOptions(HttpServletRequest request,
HttpServletResponse response)
throws ServletException
The doOptions() method services all OPTIONS requests for the servlet. The default implemen-
tation automatically determines what HTTP options are supported.
The doTrace() Method
protected void doTrace(HttpServletRequest request,
HttpServletResponse response)
throws ServletException
The doTrace() method services all TRACE requests for the servlet.
getLastModifiedTime() Method
protected long getLastModifiedTime(HttpServletRequest request)
The getLastModifiedTime() method returns the last time the requested entity was modified.
The value returned is measured in milliseconds since January 1, 1970.
getLastModifiedTime() throws no exceptions.
It has one parameter:
It returns this value:
The service(HttpServletRequest request, HttpServletResponse
response) Method
protected void service(HttpServletRequest request,
HttpServletResponse response)
throws ServletException
This is an HTTP-specific implementation of the Servlet.service() method. It handles stan-
dard HTTP requests by dispatching them to the appropriately implemented methods. The
service() method throws a ServletException if it cannot service the request and throws a if there was an I/O error. service() returns no value.
Search WWH ::

Custom Search