Uses of Interface
javax.servlet.http.HttpServletRequest
Packages that use HttpServletRequest
Package
Description
The jakarta.servlet.http package contains a number of classes and interfaces that describe and define the contracts between a servlet class running under the HTTP protocol and the runtime environment provided for an instance of such a class by a conforming servlet container.
-
Uses of HttpServletRequest in javax.servlet.http
Classes in javax.servlet.http that implement HttpServletRequestModifier and TypeClassDescriptionclassProvides a convenient implementation of the HttpServletRequest interface that can be subclassed by developers wishing to adapt the request to a Servlet.Methods in javax.servlet.http that return HttpServletRequestModifier and TypeMethodDescriptionprivate HttpServletRequestHttpServletRequestWrapper._getHttpServletRequest()Methods in javax.servlet.http with parameters of type HttpServletRequestModifier and TypeMethodDescriptionprotected voidHttpServlet.doDelete(HttpServletRequest req, HttpServletResponse resp) Called by the server (via theservicemethod) to allow a servlet to handle a DELETE request.protected voidHttpFilter.doFilter(HttpServletRequest req, HttpServletResponse res, FilterChain chain) ThedoFiltermethod of the Filter is called by the container each time a request/response pair is passed through the chain due to a client request for a resource at the end of the chain.protected voidHttpServlet.doGet(HttpServletRequest req, HttpServletResponse resp) Called by the server (via theservicemethod) to allow a servlet to handle a GET request.protected voidHttpServlet.doHead(HttpServletRequest req, HttpServletResponse resp) Receives an HTTP HEAD request from the protectedservicemethod and handles the request.protected voidHttpServlet.doOptions(HttpServletRequest req, HttpServletResponse resp) Called by the server (via theservicemethod) to allow a servlet to handle a OPTIONS request.protected voidHttpServlet.doPost(HttpServletRequest req, HttpServletResponse resp) Called by the server (via theservicemethod) to allow a servlet to handle a POST request.protected voidHttpServlet.doPut(HttpServletRequest req, HttpServletResponse resp) Called by the server (via theservicemethod) to allow a servlet to handle a PUT request.protected voidHttpServlet.doTrace(HttpServletRequest req, HttpServletResponse resp) Called by the server (via theservicemethod) to allow a servlet to handle a TRACE request.protected longHttpServlet.getLastModified(HttpServletRequest req) Returns the time theHttpServletRequestobject was last modified, in milliseconds since midnight January 1, 1970 GMT.static StringBufferHttpUtils.getRequestURL(HttpServletRequest req) Deprecated.Reconstructs the URL the client used to make the request, using information in theHttpServletRequestobject.protected voidHttpServlet.service(HttpServletRequest req, HttpServletResponse resp) Receives standard HTTP requests from the publicservicemethod and dispatches them to thedoXXX methods defined in this class.Constructors in javax.servlet.http with parameters of type HttpServletRequestModifierConstructorDescriptionConstructs a request object wrapping the given request.