com.strangelight.servlet
Class D

java.lang.Object
  |
  +--com.strangelight.servlet.D

public final class D
extends java.lang.Object

D contains utility methods useful for testing and debugging of servlets.


Constructor Summary
D()
           
 
Method Summary
static java.lang.String _test_suite()
           
static java.lang.String bug_msgs()
          Retrieves all of the debugging info stored since the last call to bug_msgs().
static void bug(byte x)
          Identical to bug(Object) but accepts a primitive type instead of an Object.
static void bug(char x)
          Identical to bug(Object) but accepts a primitive type instead of an Object.
static void bug(double x)
          Identical to bug(Object) but accepts a primitive type instead of an Object.
static void bug(float x)
          Identical to bug(Object) but accepts a primitive type instead of an Object.
static void bug(int x)
          Identical to bug(Object) but accepts a primitive type instead of an Object.
static void bug(long x)
          Identical to bug(Object) but accepts a primitive type instead of an Object.
static void bug(java.lang.Object o)
          Stores an HTML-formatted string representation of an object, including misc.
static void bug(short x)
          Identical to bug(Object) but accepts a primitive type instead of an Object.
static void bug(java.lang.String label, byte x)
          Identical to bug(String, Object) but accepts a primitive type instead of an Object.
static void bug(java.lang.String label, char x)
          Identical to bug(String, Object) but accepts a primitive type instead of an Object.
static void bug(java.lang.String label, double x)
          Identical to bug(String, Object) but accepts a primitive type instead of an Object.
static void bug(java.lang.String label, float x)
          Identical to bug(String, Object) but accepts a primitive type instead of an Object.
static void bug(java.lang.String label, int x)
          Identical to bug(String, Object) but accepts a primitive type instead of an Object.
static void bug(java.lang.String label, long x)
          Identical to bug(String, Object) but accepts a primitive type instead of an Object.
static void bug(java.lang.String label, java.lang.Object o)
          Stores a labelled, HTML-formatted string representation of an object, including misc.
static void bug(java.lang.String label, short x)
          Identical to bug(String, Object) but accepts a primitive type instead of an Object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

D

public D()
Method Detail

bug

public static void bug(byte x)
Identical to bug(Object) but accepts a primitive type instead of an Object.


bug

public static void bug(java.lang.String label,
                       byte x)
Identical to bug(String, Object) but accepts a primitive type instead of an Object.


bug

public static void bug(char x)
Identical to bug(Object) but accepts a primitive type instead of an Object.


bug

public static void bug(java.lang.String label,
                       char x)
Identical to bug(String, Object) but accepts a primitive type instead of an Object.


bug

public static void bug(short x)
Identical to bug(Object) but accepts a primitive type instead of an Object.


bug

public static void bug(java.lang.String label,
                       short x)
Identical to bug(String, Object) but accepts a primitive type instead of an Object.


bug

public static void bug(int x)
Identical to bug(Object) but accepts a primitive type instead of an Object.


bug

public static void bug(java.lang.String label,
                       int x)
Identical to bug(String, Object) but accepts a primitive type instead of an Object.


bug

public static void bug(long x)
Identical to bug(Object) but accepts a primitive type instead of an Object.


bug

public static void bug(java.lang.String label,
                       long x)
Identical to bug(String, Object) but accepts a primitive type instead of an Object.


bug

public static void bug(float x)
Identical to bug(Object) but accepts a primitive type instead of an Object.


bug

public static void bug(java.lang.String label,
                       float x)
Identical to bug(String, Object) but accepts a primitive type instead of an Object.


bug

public static void bug(double x)
Identical to bug(Object) but accepts a primitive type instead of an Object.


bug

public static void bug(java.lang.String label,
                       double x)
Identical to bug(String, Object) but accepts a primitive type instead of an Object.


bug

public static void bug(java.lang.Object o)
Stores an HTML-formatted string representation of an object, including misc. debugging information.

Parameters:
o - Any object.

bug

public static void bug(java.lang.String label,
                       java.lang.Object o)
Stores a labelled, HTML-formatted string representation of an object, including misc. debugging information.

Parameters:
label - A string to use as a label for this object.
o - Any object.

bug_msgs

public static java.lang.String bug_msgs()
Retrieves all of the debugging info stored since the last call to bug_msgs().

Returns:
An HTML-formatted String appropriate for outputting to a web browser.

_test_suite

public static java.lang.String _test_suite()