Uses of Interface
javax.servlet.ServletResponse
Packages that use ServletResponse
-
Uses of ServletResponse in javax.servlet
Classes in javax.servlet that implement ServletResponseModifier and TypeClassDescriptionclass
Provides a convenient implementation of the ServletResponse interface that can be subclassed by developers wishing to adapt the response from a Servlet.Methods in javax.servlet that return ServletResponseModifier and TypeMethodDescriptionServletResponseWrapper.getResponse()
Return the wrapped ServletResponse object.Methods in javax.servlet with parameters of type ServletResponseModifier and TypeMethodDescriptionvoid
Filter.doFilter
(ServletRequest request, ServletResponse response, FilterChain chain) ThedoFilter
method 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.void
FilterChain.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.void
RequestDispatcher.forward
(ServletRequest request, ServletResponse response) Forwards a request from a servlet to another resource (servlet, JSP file, or HTML file) on the server.void
RequestDispatcher.include
(ServletRequest request, ServletResponse response) Includes the content of a resource (servlet, JSP page, HTML file) in the response.abstract void
GenericServlet.service
(ServletRequest req, ServletResponse res) Called by the servlet container to allow the servlet to respond to a request.void
Servlet.service
(ServletRequest req, ServletResponse res) Called by the servlet container to allow the servlet to respond to a request.void
ServletResponseWrapper.setResponse
(ServletResponse response) Sets the response being wrapped.Constructors in javax.servlet with parameters of type ServletResponseModifierConstructorDescriptionServletResponseWrapper
(ServletResponse response) Creates a ServletResponse adaptor wrapping the given response object. -
Uses of ServletResponse in javax.servlet.http
Subinterfaces of ServletResponse in javax.servlet.httpModifier and TypeInterfaceDescriptioninterface
Extends theServletResponse
interface to provide HTTP-specific functionality in sending a response.Classes in javax.servlet.http that implement ServletResponseModifier and TypeClassDescriptionclass
Provides a convenient implementation of the HttpServletResponse interface that can be subclassed by developers wishing to adapt the response from a Servlet.Methods in javax.servlet.http with parameters of type ServletResponseModifier and TypeMethodDescriptionvoid
HttpServlet.service
(ServletRequest req, ServletResponse res) Dispatches client requests to the protectedservice
method. -
Uses of ServletResponse in javax.servlet.jsp
Methods in javax.servlet.jsp that return ServletResponseModifier and TypeMethodDescriptionabstract ServletResponse
PageContext.getResponse()
The current value of the response object (a ServletResponse).Methods in javax.servlet.jsp with parameters of type ServletResponseModifier and TypeMethodDescriptionabstract PageContext
JspFactory.getPageContext
(Servlet servlet, ServletRequest request, ServletResponse response, String errorPageURL, boolean needsSession, int buffer, boolean autoflush) obtains an instance of an implementation dependent javax.servlet.jsp.PageContext abstract class for the calling Servlet and currently pending request and response.abstract void
PageContext.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.