org.apache.felix.webconsole.internal
Class Util

java.lang.Object
  extended by org.apache.felix.webconsole.internal.Util

public class Util
extends java.lang.Object

The Util TODO


Field Summary
static java.lang.String ATTR_FILEUPLOAD
          The name of the request attribute containig the map of FileItems from the POST request
static java.lang.String PAGE_LOGS
          Logs subpage
static java.lang.String PAGE_VM_STAT
          vm statistics subpage
static java.lang.String PAGE_WEBAPPS
          web apps subpage
static java.lang.String PARAM_ACTION
          Parameter name
static java.lang.String PARAM_CONTENT
          Parameter name
static java.lang.String PARAM_SHUTDOWN
          Parameter name
static java.lang.String VALUE_SHUTDOWN
          Parameter value
 
Constructor Summary
Util()
           
 
Method Summary
static void endHhtml(java.io.PrintWriter pw)
           
static void endScript(java.io.PrintWriter pw)
           
static void navigation(java.io.PrintWriter pw, java.util.Collection renders, java.lang.String current, boolean disabled)
           
static void spool(java.lang.String res, javax.servlet.http.HttpServletResponse resp)
           
static java.io.PrintWriter startHtml(javax.servlet.http.HttpServletResponse resp, java.lang.String pageTitle)
           
static void startScript(java.io.PrintWriter pw)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PAGE_WEBAPPS

public static final java.lang.String PAGE_WEBAPPS
web apps subpage

See Also:
Constant Field Values

PAGE_VM_STAT

public static final java.lang.String PAGE_VM_STAT
vm statistics subpage

See Also:
Constant Field Values

PAGE_LOGS

public static final java.lang.String PAGE_LOGS
Logs subpage

See Also:
Constant Field Values

PARAM_ACTION

public static final java.lang.String PARAM_ACTION
Parameter name

See Also:
Constant Field Values

PARAM_CONTENT

public static final java.lang.String PARAM_CONTENT
Parameter name

See Also:
Constant Field Values

PARAM_SHUTDOWN

public static final java.lang.String PARAM_SHUTDOWN
Parameter name

See Also:
Constant Field Values

VALUE_SHUTDOWN

public static final java.lang.String VALUE_SHUTDOWN
Parameter value

See Also:
Constant Field Values

ATTR_FILEUPLOAD

public static final java.lang.String ATTR_FILEUPLOAD
The name of the request attribute containig the map of FileItems from the POST request

See Also:
Constant Field Values
Constructor Detail

Util

public Util()
Method Detail

startHtml

public static java.io.PrintWriter startHtml(javax.servlet.http.HttpServletResponse resp,
                                            java.lang.String pageTitle)
                                     throws java.io.IOException
Throws:
java.io.IOException

navigation

public static void navigation(java.io.PrintWriter pw,
                              java.util.Collection renders,
                              java.lang.String current,
                              boolean disabled)

endHhtml

public static void endHhtml(java.io.PrintWriter pw)

startScript

public static void startScript(java.io.PrintWriter pw)

endScript

public static void endScript(java.io.PrintWriter pw)

spool

public static void spool(java.lang.String res,
                         javax.servlet.http.HttpServletResponse resp)
                  throws java.io.IOException
Throws:
java.io.IOException