public class RequestContextListener
extends java.lang.Object
implements javax.servlet.ServletRequestListener
Constructor and Description |
---|
RequestContextListener() |
Modifier and Type | Method and Description |
---|---|
static javax.servlet.http.HttpServletRequest |
getRequest()
Returns current HTTP servlet request.
|
void |
requestDestroyed(javax.servlet.ServletRequestEvent servletRequestEvent) |
void |
requestInitialized(javax.servlet.ServletRequestEvent requestEvent) |
public void requestInitialized(javax.servlet.ServletRequestEvent requestEvent)
requestInitialized
in interface javax.servlet.ServletRequestListener
public void requestDestroyed(javax.servlet.ServletRequestEvent servletRequestEvent)
requestDestroyed
in interface javax.servlet.ServletRequestListener
public static javax.servlet.http.HttpServletRequest getRequest()
null
is request was not bound to the thread.Copyright © 2003-present Jodd Team