Uses of Interface
jakarta.servlet.ServletResponse
Packages that use ServletResponse
Package
Description
-
Uses of ServletResponse in jakarta.servlet
Classes in jakarta.servlet that implement ServletResponseModifier and TypeClassDescriptionclassProvides a convenient implementation of the ServletResponse interface that can be subclassed by developers wishing to adapt the response from a Servlet.Methods in jakarta.servlet that return ServletResponseModifier and TypeMethodDescriptionAsyncContext.getResponse()ServletResponseWrapper.getResponse()Return the wrapped ServletResponse object.AsyncEvent.getSuppliedResponse()Obtain the response associated with the event.Methods in jakarta.servlet with parameters of type ServletResponseModifier and TypeMethodDescriptionvoidAsyncContext.addListener(AsyncListener listener, ServletRequest request, ServletResponse response) Adds an event listener that will be called when different AsyncEvents firevoidFilter.doFilter(ServletRequest request, ServletResponse response, 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.voidFilterChain.doFilter(ServletRequest request, ServletResponse response) Causes the next filter in the chain to be invoked, or if the calling filter is the last filter in the chain, causes the resource at the end of the chain to be invoked.voidRequestDispatcher.forward(ServletRequest request, ServletResponse response) Forwards a request from a servlet to another resource (servlet, JSP file, or HTML file) on the server.voidRequestDispatcher.include(ServletRequest request, ServletResponse response) Includes the content of a resource (servlet, JSP page, HTML file) in the response.booleanServletResponseWrapper.isWrapperFor(ServletResponse wrapped) TODO SERVLET3 - Add commentsabstract voidGenericServlet.service(ServletRequest req, ServletResponse res) Called by the servlet container to allow the servlet to respond to a request.voidServlet.service(ServletRequest req, ServletResponse res) Called by the servlet container to allow the servlet to respond to a request.voidServletResponseWrapper.setResponse(ServletResponse response) Sets the response being wrapped.ServletRequest.startAsync(ServletRequest servletRequest, ServletResponse servletResponse) ServletRequestWrapper.startAsync(ServletRequest servletRequest, ServletResponse servletResponse) The default behavior of this method is to return startAsync(Runnable) on the wrapped request object.Constructors in jakarta.servlet with parameters of type ServletResponseModifierConstructorDescriptionAsyncEvent(AsyncContext context, ServletRequest request, ServletResponse response) Creates an instance using the provide parameters.AsyncEvent(AsyncContext context, ServletRequest request, ServletResponse response, Throwable throwable) Creates an instance using the provide parameters.ServletResponseWrapper(ServletResponse response) Creates a ServletResponse adaptor wrapping the given response object. -
Uses of ServletResponse in jakarta.servlet.http
Subinterfaces of ServletResponse in jakarta.servlet.httpModifier and TypeInterfaceDescriptioninterfaceExtends theServletResponseinterface to provide HTTP-specific functionality in sending a response.Classes in jakarta.servlet.http that implement ServletResponseModifier 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 ServletResponseModifier and TypeMethodDescriptionvoidHttpFilter.doFilter(ServletRequest request, ServletResponse response, 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.voidHttpServlet.service(ServletRequest req, ServletResponse res) Dispatches client requests to the protectedservicemethod. -
Uses of ServletResponse in jakarta.servlet.jsp
Methods in jakarta.servlet.jsp that return ServletResponseModifier and TypeMethodDescriptionabstract ServletResponsePageContext.getResponse()The current value of the response object (a ServletResponse).Methods in jakarta.servlet.jsp with parameters of type ServletResponseModifier and TypeMethodDescriptionabstract PageContextJspFactory.getPageContext(Servlet servlet, ServletRequest request, ServletResponse response, String errorPageURL, boolean needsSession, int buffer, boolean autoflush) obtains an instance of an implementation dependent jakarta.servlet.jsp.PageContext abstract class for the calling Servlet and currently pending request and response.abstract voidPageContext.initialize(Servlet servlet, ServletRequest request, ServletResponse response, String errorPageURL, boolean needsSession, int bufferSize, boolean autoFlush) The initialize method is called to initialize an uninitialized PageContext so that it may be used by a JSP Implementation class to service an incoming request and response within it's _jspService() method. -
Uses of ServletResponse in org.apache.jasper.runtime
Classes in org.apache.jasper.runtime that implement ServletResponseModifier and TypeClassDescriptionclassServletResponseWrapper used by the JSP 'include' action.Methods in org.apache.jasper.runtime that return ServletResponseMethods in org.apache.jasper.runtime with parameters of type ServletResponseModifier and TypeMethodDescriptionJspFactoryImpl.getPageContext(Servlet servlet, ServletRequest request, ServletResponse response, String errorPageURL, boolean needsSession, int bufferSize, boolean autoflush) static voidJspRuntimeLibrary.include(ServletRequest request, ServletResponse response, String relativePath, JspWriter out, boolean flush) Perform a RequestDispatcher.include() operation, with optional flushing of the response beforehand.voidJspContextWrapper.initialize(Servlet servlet, ServletRequest request, ServletResponse response, String errorPageURL, boolean needsSession, int bufferSize, boolean autoFlush) voidPageContextImpl.initialize(Servlet servlet, ServletRequest request, ServletResponse response, String errorPageURL, boolean needsSession, int bufferSize, boolean autoFlush) Constructors in org.apache.jasper.runtime with parameters of type ServletResponseModifierConstructorDescriptionJspWriterImpl(ServletResponse response, int sz, boolean autoFlush) Create a new buffered character-output stream that uses an output buffer of the given size.ServletResponseWrapperInclude(ServletResponse response, JspWriter jspWriter) -
Uses of ServletResponse in org.apache.jasper.tagplugins.jstl
Classes in org.apache.jasper.tagplugins.jstl that implement ServletResponseModifier and TypeClassDescriptionstatic classWraps responses to allow us to retrieve results as Strings.