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()
Get the associated ServletContext.
|
ServletRequest |
getServletRequest()
Get the associated ServletRequest.
|
getSource, toStringpublic 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 © 2000-2020 Apache Software Foundation. All Rights Reserved.