|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arsdigita.dispatcher.RequestEvent
Request event class. Passed as a parameter to the methods of RequestListener.
RequestListener
Field Summary | |
static String |
versionId
|
Constructor Summary | |
RequestEvent(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
RequestContext ctx,
boolean start)
Creates a new RequestEvent with no status code. |
|
RequestEvent(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
RequestContext ctx,
boolean start,
boolean finishedNormal)
Creates a new RequestEvent with a success/failure status
code. |
Method Summary | |
boolean |
finishedNormal()
Returns a status code to indicate whether the request finished without error. |
javax.servlet.http.HttpServletRequest |
getRequest()
Returns the current request for the request event. |
RequestContext |
getRequestContext()
Returns the current request context for the request event. |
javax.servlet.http.HttpServletResponse |
getResponse()
Returns the current response for the request event. |
boolean |
isStart()
Returns true if the event is a start-request event; false for an end-request event. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String versionId
Constructor Detail |
public RequestEvent(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, RequestContext ctx, boolean start, boolean finishedNormal)
RequestEvent
with a success/failure status
code.
req
- the current requestresp
- the current responsectx
- the current request contextstart
- if true, indicates that this is a start-request event;
if false, this is an end-request event.finishedNormal
- if true, indicates the request finished
without error.public RequestEvent(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, RequestContext ctx, boolean start)
RequestEvent
with no status code.
req
- the current requestresp
- the current responsectx
- the current request contextstart
- if true, indicates that this is a start-request event;
if false, this is an end-request event.Method Detail |
public javax.servlet.http.HttpServletRequest getRequest()
public javax.servlet.http.HttpServletResponse getResponse()
public RequestContext getRequestContext()
public boolean isStart()
public boolean finishedNormal()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |