javax.servlet
public class ServletRequestEvent extends EventObject
Since: Servlet 2.4
See Also: ServletRequestListener
| Constructor Summary | |
|---|---|
| ServletRequestEvent(ServletContext sc, ServletRequest request) Construct a ServletRequestEvent for the given ServletContext
and ServletRequest.
| |
| Method Summary | |
|---|---|
| ServletContext | getServletContext()
Returns the ServletContext of this web application. |
| ServletRequest | getServletRequest()
Returns the ServletRequest that is changing. |
Parameters: sc the ServletContext of the web application. request the ServletRequest that is sending the event.