|
Servlet 3.0 - Apache Tomcat 7.0.28 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject javax.servlet.ServletRequestEvent
public class ServletRequestEvent
Events of this kind indicate lifecycle events for a ServletRequest. The source of the event is the ServletContext of this web application.
ServletRequestListener
,
Serialized FormField Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
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. |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ServletRequestEvent(ServletContext sc, ServletRequest request)
sc
- the ServletContext of the web application.request
- the ServletRequest that is sending the event.Method Detail |
---|
public ServletRequest getServletRequest()
public ServletContext getServletContext()
|
Servlet 3.0 - Apache Tomcat 7.0.28 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |