Package de.elo.utils.webapp.status
Class StatusPageHtml
java.lang.Object
de.elo.utils.webapp.status.StatusPage
de.elo.utils.webapp.status.StatusPageHtml
public class StatusPageHtml extends StatusPage
This class prints the
StatusData
in HTML format.
It uses the style sheet StatusPage.css
contained in this package.-
Nested Class Summary
Nested classes/interfaces inherited from class de.elo.utils.webapp.status.StatusPage
StatusPage.PrintList<T>, StatusPage.PrintListOfActions, StatusPage.PrintListOfInfos, StatusPage.PrintListOfProperties, StatusPage.PrintMode
-
Field Summary
Fields Modifier and Type Field Description protected static int
HTML_TABLE_COLUMNS
-
Constructor Summary
Constructors Constructor Description StatusPageHtml(StatusData data, boolean isAuth)
-
Method Summary
Modifier and Type Method Description static java.lang.String
getStylesheet()
protected void
printAction(java.io.PrintWriter pr, StatusPage.PrintMode pstate, StatusData.Action v)
protected void
printActions(java.io.PrintWriter pr, StatusPage.PrintMode pstate)
protected void
printBody(java.io.PrintWriter pr, StatusPage.PrintMode pstate)
protected void
printDocument(java.io.PrintWriter pr, StatusPage.PrintMode pstate)
protected void
printInfo(java.io.PrintWriter pr, StatusPage.PrintMode pstate, StatusData.Info v, StatusData.Info.Severity severity)
protected void
printInfos(java.io.PrintWriter pr, StatusPage.PrintMode pstate, StatusData.Info.Severity severity)
protected void
printProperties(java.io.PrintWriter pr, StatusPage.PrintMode pstate)
protected void
printProperty(java.io.PrintWriter pr, StatusPage.PrintMode pstate, StatusData.Property v)
protected void
printStatus(java.io.PrintWriter pr, StatusPage.PrintMode pstate)
protected void
printTitle(java.io.PrintWriter pr, StatusPage.PrintMode pstate)
Methods inherited from class de.elo.utils.webapp.status.StatusPage
close, getCharset, open, print, print, setCharset
-
Field Details
-
HTML_TABLE_COLUMNS
protected static final int HTML_TABLE_COLUMNS- See Also:
- Constant Field Values
-
-
Constructor Details
-
Method Details
-
printDocument
protected void printDocument(java.io.PrintWriter pr, StatusPage.PrintMode pstate) throws java.io.IOException- Overrides:
printDocument
in classStatusPage
- Throws:
java.io.IOException
-
printTitle
protected void printTitle(java.io.PrintWriter pr, StatusPage.PrintMode pstate) throws java.io.IOException- Overrides:
printTitle
in classStatusPage
- Throws:
java.io.IOException
-
printBody
protected void printBody(java.io.PrintWriter pr, StatusPage.PrintMode pstate) throws java.io.IOException- Overrides:
printBody
in classStatusPage
- Throws:
java.io.IOException
-
printAction
protected void printAction(java.io.PrintWriter pr, StatusPage.PrintMode pstate, StatusData.Action v) throws java.io.IOException- Overrides:
printAction
in classStatusPage
- Throws:
java.io.IOException
-
printActions
protected void printActions(java.io.PrintWriter pr, StatusPage.PrintMode pstate) throws java.io.IOException- Overrides:
printActions
in classStatusPage
- Throws:
java.io.IOException
-
printStatus
protected void printStatus(java.io.PrintWriter pr, StatusPage.PrintMode pstate) throws java.io.IOException- Overrides:
printStatus
in classStatusPage
- Throws:
java.io.IOException
-
printInfos
protected void printInfos(java.io.PrintWriter pr, StatusPage.PrintMode pstate, StatusData.Info.Severity severity) throws java.io.IOException- Overrides:
printInfos
in classStatusPage
- Throws:
java.io.IOException
-
printInfo
protected void printInfo(java.io.PrintWriter pr, StatusPage.PrintMode pstate, StatusData.Info v, StatusData.Info.Severity severity) throws java.io.IOException- Overrides:
printInfo
in classStatusPage
- Throws:
java.io.IOException
-
printProperties
protected void printProperties(java.io.PrintWriter pr, StatusPage.PrintMode pstate) throws java.io.IOException- Overrides:
printProperties
in classStatusPage
- Throws:
java.io.IOException
-
printProperty
protected void printProperty(java.io.PrintWriter pr, StatusPage.PrintMode pstate, StatusData.Property v) throws java.io.IOException- Overrides:
printProperty
in classStatusPage
- Throws:
java.io.IOException
-
getStylesheet
public static java.lang.String getStylesheet()
-