Uses of Interface
jakarta.servlet.http.HttpServletResponse
Packages that use HttpServletResponse
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 HttpServletResponse in jakarta.servlet.http
Classes in jakarta.servlet.http that implement HttpServletResponseModifier and TypeClassDescriptionclassProvides a convenient implementation of the HttpServletResponse interface that can be subclassed by developers wishing to adapt the response from a Servlet.Methods in jakarta.servlet.http with parameters of type HttpServletResponseModifier and TypeMethodDescriptionbooleanHttpServletRequest.authenticate(HttpServletResponse response) Use the container login mechanism configured for theServletContextto authenticate the user making this request.booleanHttpServletRequestWrapper.authenticate(HttpServletResponse response) The default behavior of this method is to call authenticate on the wrapped request object.protected 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.doPatch(HttpServletRequest req, HttpServletResponse resp) Called by the server (via theservicemethod) to allow a servlet to handle a PATCH 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 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 jakarta.servlet.http with parameters of type HttpServletResponseModifierConstructorDescriptionConstructs a response adaptor wrapping the given response.