public class ServletRequestEvent
extends java.util.EventObject
ServletRequestListener,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
private ServletRequest |
request |
private static long |
serialVersionUID |
| Constructor and Description |
|---|
ServletRequestEvent(ServletContext sc,
ServletRequest request)
Construct a ServletRequestEvent for the given ServletContext
and ServletRequest.
|
| Modifier and Type | Method and Description |
|---|---|
ServletContext |
getServletContext()
Returns the ServletContext of this web application.
|
ServletRequest |
getServletRequest()
Returns the ServletRequest that is changing.
|
private static final long serialVersionUID
private final transient ServletRequest request
public ServletRequestEvent(ServletContext sc, ServletRequest request)
sc - the ServletContext of the web application.request - the ServletRequest that is sending the event.public ServletRequest getServletRequest()
public ServletContext getServletContext()