|
Enhydra 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.enhydra.servlet.debug.ServletTransactionRecord
Transaction record that describes a single servlet transaction.
Field Summary | |
protected int |
id
Unique id of this transaction. |
protected ServletTransactionRecord |
next
Linked used for managing the record queue. |
Constructor Summary | |
protected |
ServletTransactionRecord(java.lang.String servletName,
RequestRecord requestRecord,
ResponseRecord responseRecord)
Construct a new servlet transaction record. |
Method Summary | |
protected void |
addTrace(java.lang.String str)
Add a string to the trace log. |
int |
getId()
Get the id of this object Id is not set until the object is added to the queue. |
java.lang.String |
getPostSessionString()
Get the string description of the session data after the request was processed. |
java.lang.String |
getPreSessionString()
Get the string description of the session data before the request was processed. |
RequestRecord |
getRequestRecord()
Get request record. |
ResponseRecord |
getResponseRecord()
Get response record. |
java.lang.String |
getServletName()
Get the name of the servlet that was sent this request. |
java.lang.String |
getTrace()
Get the trace log. |
protected void |
setError(java.lang.Throwable error)
Set the exception or error that the servlet threw. |
void |
setPostSessionString(java.lang.String desc)
Save a string (html) description of the session data after the request was processed. |
void |
setPreSessionString(java.lang.String desc)
Save a string (html) description of the session data before the request was processed. |
protected void |
stopTracing()
Stop tracing. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected ServletTransactionRecord next
protected int id
Constructor Detail |
protected ServletTransactionRecord(java.lang.String servletName, RequestRecord requestRecord, ResponseRecord responseRecord)
requestRecord
- object used to record the request.responseRecord
- object user to record the response.Method Detail |
protected void setError(java.lang.Throwable error)
public int getId()
public java.lang.String getServletName()
public RequestRecord getRequestRecord()
public ResponseRecord getResponseRecord()
protected void addTrace(java.lang.String str)
str
- string to add to the trace.protected void stopTracing()
addTrace()
will be ignored.
public java.lang.String getTrace()
public void setPreSessionString(java.lang.String desc)
desc
- A string description of the session data. May contain HTML tags.public java.lang.String getPreSessionString()
public void setPostSessionString(java.lang.String desc)
desc
- A string description of the session data. May contain HTML tags.public java.lang.String getPostSessionString()
|
Enhydra 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |