Enhydra 5.1 API

com.lutris.appserver.server.jolt.joltpo
Class JoltDebug

java.lang.Object
  |
  +--com.lutris.appserver.server.jolt.joltpo.JoltDebug

public class JoltDebug
extends java.lang.Object

This class generates html formatted output that can be used for debugging purposes in a JOLT (.jhtml) page. It displays either the request, response or both.

Insert the line:

     <JOLT JAVACALL=JoltDebug.displayRequest></JOLT>
     <JOLT JAVACALL=JoltDebug.displayResponse></JOLT>
     <JOLT JAVACALL=JoltDebug.displayAll></JOLT>
 
in a jolt page causes the appropriate information to be displayed within the page.

Author:
Kyle Clark
See Also:
lutris.jolt.HttpDebug

Constructor Summary
JoltDebug()
           
 
Method Summary
static void displayAll(JoltPage page)
          Display the httpRequest object.
static void displayRequest(JoltPage page)
          Display the httpRequest object.
static void displayResponse(JoltPage page)
          Display the httpResponse object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JoltDebug

public JoltDebug()
Method Detail

displayRequest

public static void displayRequest(JoltPage page)
                           throws java.lang.Exception
Display the httpRequest object.

Parameters:
page - Page to which data should be written.
Throws:
java.lang.Exception - Throws all exceptions.

displayResponse

public static void displayResponse(JoltPage page)
                            throws java.lang.Exception
Display the httpResponse object.

Parameters:
page - Page to which data should be written.
Throws:
java.lang.Exception - Throws all exceptions.

displayAll

public static void displayAll(JoltPage page)
                       throws java.lang.Exception
Display the httpRequest object.

Parameters:
page - Page to which data should be written.
Throws:
java.lang.Exception - Throws all exceptions.

Enhydra 5.1 API