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()
public ServletContext getServletContext()
Copyright © 2017 JBoss by Red Hat. All rights reserved.