@WebListener public class HttpServletRequestListener extends Object implements ServletRequestListener
Constructor and Description |
---|
HttpServletRequestListener() |
Modifier and Type | Method and Description |
---|---|
HttpServletRequest |
produce() |
void |
requestDestroyed(ServletRequestEvent sre)
Receives notification that a ServletRequest is about to go out
of scope of the web application.
|
void |
requestInitialized(ServletRequestEvent sre)
Receives notification that a ServletRequest is about to come
into scope of the web application.
|
public void requestInitialized(ServletRequestEvent sre)
ServletRequestListener
requestInitialized
in interface ServletRequestListener
sre
- the ServletRequestEvent containing the ServletRequest
and the ServletContext representing the web applicationpublic void requestDestroyed(ServletRequestEvent sre)
ServletRequestListener
requestDestroyed
in interface ServletRequestListener
sre
- the ServletRequestEvent containing the ServletRequest
and the ServletContext representing the web application@Produces @Typed(value=HttpServletRequest.class) public HttpServletRequest produce()
Copyright © 2018 JBoss by Red Hat. All rights reserved.