Package de.elo.utils.webapp.status
Class StatusPageText
java.lang.Object
de.elo.utils.webapp.status.StatusPage
de.elo.utils.webapp.status.StatusPageText
public class StatusPageText extends StatusPage
Prints a status page in text format.
-
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
-
Constructor Summary
Constructors Constructor Description StatusPageText(StatusData data, boolean isAuth)
-
Method Summary
Modifier and Type Method Description protected void
printInfo(java.io.PrintWriter pr, StatusPage.PrintMode pstate, StatusData.Info v, StatusData.Info.Severity severity)
protected void
printProperty(java.io.PrintWriter pr, StatusPage.PrintMode pstate, StatusData.Property v)
protected void
printStatus(java.io.PrintWriter pr, StatusPage.PrintMode pstate)
Methods inherited from class de.elo.utils.webapp.status.StatusPage
close, getCharset, open, print, print, printAction, printActions, printBody, printDocument, printInfos, printProperties, printTitle, setCharset
-
Constructor Details
-
Method Details
-
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
-
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
-
printStatus
protected void printStatus(java.io.PrintWriter pr, StatusPage.PrintMode pstate) throws java.io.IOException- Overrides:
printStatus
in classStatusPage
- Throws:
java.io.IOException
-