|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcorelib.services.web.traces.WebTraceElement
public class WebTraceElement
This class store informations associated to a HTTP request and his associated response.
These informations will be displayed by a WebTraceElementRenderer instance.
| Constructor Summary | |
|---|---|
WebTraceElement(WebTraceLogger traceLogger,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
int httpStatusCode)
Class constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getHttpStatusCode()
Returns the HTTP status code returned for the associated response. |
WebTraceJvmIndicators |
getJvmIndicators()
Returns the JVM indicators acquire at the time where the request was made. |
java.lang.String |
getMethod()
Returns the invoked method the the associated HTTP request. |
java.lang.String |
getRequestEncoding()
Returns the encoding used by the request. |
java.util.Date |
getRequestTime()
Returns the date when the request was be made. |
java.lang.String |
getRequestTimeString()
Returns the formated date when the request was be made. |
java.lang.String |
getRequestURI()
Returns the requested URI. |
java.lang.String |
getRequestURL()
Returns the absolute requested URL. |
java.lang.String |
getResponseEncoding()
Returns the encoding used by the response. |
java.lang.String |
getSessionID()
Return the session identifier associated to the considered request. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WebTraceElement(WebTraceLogger traceLogger,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
int httpStatusCode)
traceLogger - An object that store all traces for the considered requestrequest - The current HTTP requestresponse - The current HTTP responsehttpStatusCode - The returned HTTP status code| Method Detail |
|---|
public java.lang.String getHttpStatusCode()
public java.lang.String getRequestTimeString()
public java.util.Date getRequestTime()
public java.lang.String getMethod()
public java.lang.String getRequestURI()
public java.lang.String getRequestURL()
public java.lang.String getSessionID()
public java.lang.String getRequestEncoding()
public java.lang.String getResponseEncoding()
public WebTraceJvmIndicators getJvmIndicators()
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||