Uses of Interface
javax.servlet.ServletRequest
-
Packages that use ServletRequest Package Description javax.servlet javax.servlet.http javax.servlet.jsp -
-
Uses of ServletRequest in javax.servlet
Classes in javax.servlet that implement ServletRequest Modifier and Type Class Description classServletRequestWrapperProvides a convenient implementation of the ServletRequest interface that can be subclassed by developers wishing to adapt the request to a Servlet.Methods in javax.servlet that return ServletRequest Modifier and Type Method Description ServletRequestServletRequestWrapper. getRequest()Return the wrapped request object.Methods in javax.servlet with parameters of type ServletRequest Modifier and Type Method Description voidFilter. 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.abstract 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.voidServletRequestWrapper. setRequest(ServletRequest request)Sets the request object being wrapped.Constructors in javax.servlet with parameters of type ServletRequest Constructor Description ServletRequestWrapper(ServletRequest request)Creates a ServletRequest adaptor wrapping the given request object. -
Uses of ServletRequest in javax.servlet.http
Subinterfaces of ServletRequest in javax.servlet.http Modifier and Type Interface Description interfaceHttpServletRequestExtends theServletRequestinterface to provide request information for HTTP servlets.Classes in javax.servlet.http that implement ServletRequest Modifier and Type Class Description classHttpServletRequestWrapperProvides 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 with parameters of type ServletRequest Modifier and Type Method Description voidHttpServlet. service(ServletRequest req, ServletResponse res)Dispatches client requests to the protectedservicemethod. -
Uses of ServletRequest in javax.servlet.jsp
Methods in javax.servlet.jsp that return ServletRequest Modifier and Type Method Description abstract ServletRequestPageContext. getRequest()The current value of the request object (a ServletRequest).Methods in javax.servlet.jsp with parameters of type ServletRequest Modifier and Type Method Description abstract PageContextJspFactory. getPageContext(Servlet servlet, ServletRequest request, ServletResponse response, java.lang.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 voidPageContext. initialize(Servlet servlet, ServletRequest request, ServletResponse response, java.lang.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.
-