|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
com.ibm.websphere.servlet.event.ApplicationEvent
com.ibm.websphere.servlet.event.ServletEvent
com.ibm.websphere.servlet.event.ServletInvocationEvent
public abstract class ServletInvocationEvent
Event that reports information about a servlet invocation. IBM
Field Summary | |
---|---|
protected static java.util.logging.Logger |
logger
|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
ServletInvocationEvent(java.lang.Object source,
javax.servlet.ServletContext context,
java.lang.String servletName,
java.lang.String servletClassName,
javax.servlet.ServletRequest req,
javax.servlet.ServletResponse resp)
ServletInvocationEvent constructor |
Method Summary | |
---|---|
javax.servlet.http.HttpServletRequest |
getRequest()
Get the request used for the servlet invocation. |
java.lang.String |
getRequestURL()
Get the URL of this invocation. |
javax.servlet.http.HttpServletResponse |
getResponse()
Get the response used for the servlet invocation. |
abstract long |
getResponseTime()
Get the amount of time it took the servlet generate its response. |
void |
setRequest(javax.servlet.http.HttpServletRequest req)
|
void |
setResponse(javax.servlet.http.HttpServletResponse res)
|
Methods inherited from class com.ibm.websphere.servlet.event.ServletEvent |
---|
getServletClassName, getServletName |
Methods inherited from class com.ibm.websphere.servlet.event.ApplicationEvent |
---|
getServletContext, getServletNames |
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 |
Field Detail |
---|
protected static java.util.logging.Logger logger
Constructor Detail |
---|
public ServletInvocationEvent(java.lang.Object source, javax.servlet.ServletContext context, java.lang.String servletName, java.lang.String servletClassName, javax.servlet.ServletRequest req, javax.servlet.ServletResponse resp)
Method Detail |
---|
public java.lang.String getRequestURL()
public abstract long getResponseTime()
public javax.servlet.http.HttpServletRequest getRequest()
public javax.servlet.http.HttpServletResponse getResponse()
public void setRequest(javax.servlet.http.HttpServletRequest req)
public void setResponse(javax.servlet.http.HttpServletResponse res)
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |