|
Enhydra 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.lutris.http.debug.HttpDebug
This class is used for debugging. It generates html formatted output. It can be used to display http request, http response information. The interfaces DebugRequest and DebugResponse are used to define how this debugging class interacts with the various type of request and response classes including: HttpServletRequest, HttpServletResponse, HttpPresentationRequest, HttpPresentationResponse, HttpRequest, HttpResponse, etc.
Constructor Summary | |
HttpDebug()
|
Method Summary | |
static java.lang.String |
formatSessionInfo(java.lang.String info,
java.lang.String title)
|
static java.lang.String |
formatTraceDebugInfo(java.lang.String trace)
Adds a dump of the response object trace. |
static java.lang.String |
getRequestDebugInfo(DebugRequest request)
Returns HTML containing all the useful information in a HTTP Request. |
static java.lang.String |
getResponseDebugInfo(DebugResponse response)
Returns HTML containing all the useful information in a HTTP Response. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HttpDebug()
Method Detail |
public static java.lang.String getRequestDebugInfo(DebugRequest request) throws java.lang.Exception
request
- The request object to be dumped.
java.lang.Exception
- from underlying implementation of request object.public static java.lang.String getResponseDebugInfo(DebugResponse response) throws java.lang.Exception
response
- The response object to be dumped.
java.lang.Exception
- from underlying implementation of response object.public static java.lang.String formatTraceDebugInfo(java.lang.String trace)
trace
- The string to be formatted.
public static java.lang.String formatSessionInfo(java.lang.String info, java.lang.String title)
|
Enhydra 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |