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.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. -
Uses of HttpServletResponse in org.glassfish.grizzly.servlet
Classes in org.glassfish.grizzly.servlet that implement HttpServletResponseModifier and TypeClassDescriptionclassWrapper around ajakarta.servlet.http.HttpServletResponsethat transforms an application response object (which might be the original one passed to a servlet.classFacade class that wraps aResponseobject.Methods in org.glassfish.grizzly.servlet with parameters of type HttpServletResponseModifier and TypeMethodDescriptionbooleanHttpServletRequestImpl.authenticate(HttpServletResponse hsr) static ResponseServletUtils.getInternalResponse(HttpServletResponse servletResponse) Returns internal GrizzlyResponseassociated with the passedHttpServletResponse.voidExpectationHandler.onExpectAcknowledgement(HttpServletRequest request, HttpServletResponse response, ExpectationHandler.AckAction action) Method is getting called by framework if HTTP request contains "Expect" header.protected voidDefaultServlet.service(HttpServletRequest req, HttpServletResponse resp) Constructors in org.glassfish.grizzly.servlet with parameters of type HttpServletResponseModifierConstructorDescriptionDispatchedHttpServletResponse(HttpServletResponse response, boolean included)