## Uses of Interface
javax.servlet.ServletRequest

Packages that use ServletRequest
javax.servlet: The javax.servlet package contains a number of classes and interfaces that describe and define the contracts between a servlet class and the runtime environment provided for an instance of such a class by a conforming servlet container.
javax.servlet.http: The javax.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 ServletRequest in javax.servlet

Classes in javax.servlet that implement ServletRequest
`class` `ServletRequestWrapper` Provides 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
`ServletRequest` `ServletRequestWrapper.getRequest()` Return the wrapped request object.
`ServletRequest` `ServletRequestEvent.getServletRequest()` Returns the ServletRequest that is changing.

Methods in javax.servlet with parameters of type ServletRequest
`void` `ServletRequestWrapper.setRequest(ServletRequest request)` Sets the request object being wrapped.
`void` `Servlet.service(ServletRequest req, ServletResponse res)` Called by the servlet container to allow the servlet to respond to a request.
`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` `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` `Filter.doFilter(ServletRequest request, ServletResponse response, FilterChain chain)` The `doFilter` 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.

Constructors in javax.servlet with parameters of type ServletRequest
`ServletRequestWrapper(ServletRequest request)` Creates a ServletRequest adaptor wrapping the given request object.
`ServletRequestEvent(ServletContext sc, ServletRequest request)` Construct a ServletRequestEvent for the given ServletContext and ServletRequest.
`ServletRequestAttributeEvent(ServletContext sc, ServletRequest request, java.lang.String name, java.lang.Object value)` Construct a ServletRequestAttributeEvent giving the servlet context of this web application, the ServletRequest whose attributes are changing and the name and value of the attribute.

Uses of ServletRequest in javax.servlet.http

Subinterfaces of ServletRequest in javax.servlet.http
`interface` `HttpServletRequest` Extends the `ServletRequest` interface to provide request information for HTTP servlets.

Classes in javax.servlet.http that implement ServletRequest
`class` `HttpServletRequestWrapper` Provides 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
`void` `HttpServlet.service(ServletRequest req, ServletResponse res)` Dispatches client requests to the protected `service` method.

Copyright © 1999-2002 The Apache Software Foundation. All Rights Reserved.