public class ServletRequestEvent extends EventObject
ServletRequestListener
,
Serialized Formsource
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.
|
getSource, toString
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.Copyright © 2019 Eclipse Foundation.
Use is subject to license terms.