org.cougaar.pizza.servlet
Class HistoryServlet.HistoryFormatter
java.lang.Object
org.cougaar.pizza.servlet.HistoryServlet.HistoryFormatter
- Enclosing class:
- HistoryServlet
- protected class HistoryServlet.HistoryFormatter
- extends java.lang.Object
The inner class used by the servlet to format the request results.
|
Method Summary |
void |
execute(javax.servlet.http.HttpServletResponse response)
Execute the request - print the web page |
protected java.lang.String |
getHtmlForState()
Print the actual table of events |
protected void |
processParams(javax.servlet.http.HttpServletRequest request)
Interpret the Format requested (only HTML supported),
sort the events as requested before we do printing. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FORMAT_DATA
public static final int FORMAT_DATA
- See Also:
- Constant Field Values
FORMAT_XML
public static final int FORMAT_XML
- See Also:
- Constant Field Values
FORMAT_HTML
public static final int FORMAT_HTML
- See Also:
- Constant Field Values
HistoryServlet.HistoryFormatter
public HistoryServlet.HistoryFormatter(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
processParams
protected void processParams(javax.servlet.http.HttpServletRequest request)
- Interpret the Format requested (only HTML supported),
sort the events as requested before we do printing.
execute
public void execute(javax.servlet.http.HttpServletResponse response)
throws java.io.IOException
- Execute the request - print the web page
- Throws:
java.io.IOException
getHtmlForState
protected java.lang.String getHtmlForState()
- Print the actual table of events