public class ServletRequestEvent
extends java.util.EventObject
ServletRequestListener
,
Serialized FormConstructor 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.
|
public ServletRequestEvent(ServletContext sc, ServletRequest request)
sc
- the ServletContext of the web application.request
- the ServletRequest that is sending the event.public ServletRequest getServletRequest()
ServletRequest
corresponding to this event.public ServletContext getServletContext()
ServletContext
for this web application.