| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static PrintWriter | |
| public static String | Returns: formatted timeTime object to be formatted as string obj)Formats the given time (given in seconds) as a string. |
| public static String | Returns: formatted sizeThe object to format obj, boolean true to display MiB, false for KiB mb)Display the given size in bytes, either as KiB or MiB. |
| public static String | Returns: formatted timeThe object to format obj, boolean true to display seconds, false for milliseconds seconds)Display the given time in ms, either as ms or s. |
| private static PrintWriter | |
| public static void | |
| public static void | writeBody(PrintWriter
The output writer writer, Object[] What to write args, int 0 means write mode)Write the header body. |
| public static void | writeConnectorsState(PrintWriter
The output writer writer, MBeanServer MBean server mBeanServer, List<ObjectName> MBean names for the thread pools of the connectors threadPools, List<ObjectName> MBean names for the global request processors globalRequestProcessors, List<ObjectName> MBean names for the request processors requestProcessors, int Mode mode, Object[] 0 will generate HTML. Mode 1 will generate XML.I18n labels for the Connector state values args)Write connector state. |
| public static void | writeConnectorState(PrintWriter
The output writer writer, ObjectName MBean name of the thread pool tpName, String Connector name name, MBeanServer MBean server mBeanServer, List<ObjectName> MBean names for the global request processors globalRequestProcessors, List<ObjectName> MBean names for the request processors requestProcessors, int Mode mode, Object[] 0 will generate HTML. Mode 1 will generate XML.I18n labels for the Connector state values args)Write connector state. |
| protected static void | writeContext(PrintWriter
The output writer writer, ObjectName The context MBean name objectName, MBeanServer MBean server mBeanServer, int Mode mode)0 will generate HTML. Mode 1 will generate XML.Write context state. |
| public static void | writeDetailedState(PrintWriter
The output writer writer, MBeanServer MBean server mBeanServer, int Mode mode)0 will generate HTML. Mode 1 will generate XML.Write applications state. |
| public static void | |
| public static void | writeHeader(PrintWriter
the PrintWriter to use writer, Object[] Path prefix for URLs args, int - 0 = HTML header, 1 = XML declaration, 2 = JSON mode)Write an HTML or XML header. |
| public static void | writeJspMonitor(PrintWriter
The output writer writer, Set<ObjectName> The JSP MBean names jspMonitorONs, MBeanServer MBean server mBeanServer, int Mode mode)0 will generate HTML. Mode 1 will generate XML.Write JSP monitoring information. |
| public static void | writeManager(PrintWriter
The output writer writer, Object[] What to write args, int 0 means write mode)Write the manager webapp information. |
| public static void | writeManager(PrintWriter
The output writer writer, ObjectName The manager MBean name objectName, MBeanServer MBean server mBeanServer, int Mode mode)0 will generate HTML. Mode 1 will generate XML.Write detailed information about a manager. |
| public static void | |
| protected static void | writeProcessorState(PrintWriter
The output writer writer, ObjectName MBean name of the processor pName, MBeanServer MBean server mBeanServer, int Mode mode)0 will generate HTML. Mode 1 will generate XML.Write processor state. |
| public static void | |
| public static void | writeVMState(PrintWriter
The output writer writer, int Mode mode, Object[] 0 will generate HTML. Mode 1 will generate XML.I18n labels for the VM state values args)Write the VM state. |
| public static void | writeWrapper(PrintWriter
The output writer writer, ObjectName The wrapper MBean names objectName, MBeanServer MBean server mBeanServer, int Mode mode)0 will generate HTML. Mode 1 will generate XML.Write detailed information about a wrapper. |
| StatusTransformer | back to summary |
|---|---|
| public StatusTransformer() | |
| appendJSonValue | back to summary |
|---|---|
| private static PrintWriter appendJSonValue(PrintWriter writer, String name, String value) | |
| formatSeconds | back to summary |
|---|---|
| public static String formatSeconds(Object obj) Formats the given time (given in seconds) as a string. | |
| formatSize | back to summary |
|---|---|
| public static String formatSize(Object obj, boolean mb) Display the given size in bytes, either as KiB or MiB. | |
| formatTime | back to summary |
|---|---|
| public static String formatTime(Object obj, boolean seconds) Display the given time in ms, either as ms or s. | |
| indent | back to summary |
|---|---|
| private static PrintWriter indent(PrintWriter writer, int count) | |
| setContentType | back to summary |
|---|---|
| public static void setContentType(HttpServletResponse response, int mode) | |
| writeBody | back to summary |
|---|---|
| public static void writeBody(PrintWriter writer, Object[] args, int mode) Write the header body. XML output doesn't bother to output this stuff, since it's just title.
| |
| writeConnectorsState | back to summary |
|---|---|
| public static void writeConnectorsState(PrintWriter writer, MBeanServer mBeanServer, List<ObjectName> threadPools, List<ObjectName> globalRequestProcessors, List<ObjectName> requestProcessors, int mode, Object[] args) throws Exception Write connector state.
| |
| writeConnectorState | back to summary |
|---|---|
| public static void writeConnectorState(PrintWriter writer, ObjectName tpName, String name, MBeanServer mBeanServer, List<ObjectName> globalRequestProcessors, List<ObjectName> requestProcessors, int mode, Object[] args) throws Exception Write connector state.
| |
| writeContext | back to summary |
|---|---|
| protected static void writeContext(PrintWriter writer, ObjectName objectName, MBeanServer mBeanServer, int mode) throws Exception Write context state.
| |
| writeDetailedState | back to summary |
|---|---|
| public static void writeDetailedState(PrintWriter writer, MBeanServer mBeanServer, int mode) throws Exception Write applications state.
| |
| writeFooter | back to summary |
|---|---|
| public static void writeFooter(PrintWriter writer, int mode) | |
| writeHeader | back to summary |
|---|---|
| public static void writeHeader(PrintWriter writer, Object[] args, int mode) Write an HTML or XML header.
| |
| writeJspMonitor | back to summary |
|---|---|
| public static void writeJspMonitor(PrintWriter writer, Set<ObjectName> jspMonitorONs, MBeanServer mBeanServer, int mode) throws Exception Write JSP monitoring information.
| |
| writeManager | back to summary |
|---|---|
| public static void writeManager(PrintWriter writer, Object[] args, int mode) Write the manager webapp information.
| |
| writeManager | back to summary |
|---|---|
| public static void writeManager(PrintWriter writer, ObjectName objectName, MBeanServer mBeanServer, int mode) throws Exception Write detailed information about a manager.
| |
| writePageHeading | back to summary |
|---|---|
| public static void writePageHeading(PrintWriter writer, Object[] args, int mode) | |
| writeProcessorState | back to summary |
|---|---|
| protected static void writeProcessorState(PrintWriter writer, ObjectName pName, MBeanServer mBeanServer, int mode) throws Exception Write processor state.
| |
| writeServerInfo | back to summary |
|---|---|
| public static void writeServerInfo(PrintWriter writer, Object[] args, int mode) | |
| writeVMState | back to summary |
|---|---|
| public static void writeVMState(PrintWriter writer, int mode, Object[] args) throws Exception Write the VM state.
| |
| writeWrapper | back to summary |
|---|---|
| public static void writeWrapper(PrintWriter writer, ObjectName objectName, MBeanServer mBeanServer, int mode) throws Exception Write detailed information about a wrapper.
| |