Top Fields Constructors Methods
ch.qos.logback.core.status

public abstract Class ViewStatusMessagesServletBase

extends HttpServlet
Class Inheritance
Static Imports
ch.qos.logback.core.CoreConstants.LINE_SEPARATOR

Field Summary

Modifier and TypeField and Description
pack-priv static String
pack-priv int
private static CachingDateFormatter
private static final long
pack-priv static String
Inherited from jakarta.servlet.http.HttpServlet:
LEGACY_DO_HEAD

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
pack-priv String
protected abstract String
protected abstract StatusManager
public void
printCSS(String localRef, PrintWriter output)

public void
public void
private void
private void
protected void
service(HttpServletRequest
the HttpServletRequest object that contains the request the client made of the servlet
req
,
HttpServletResponse
the HttpServletResponse object that contains the response the servlet returns to the client
resp
)

Overrides jakarta.servlet.http.HttpServlet.service.

Receives standard HTTP requests from the public service method and dispatches them to the doXXX methods defined in this class.
pack-priv String
Inherited from jakarta.servlet.http.HttpServlet:
doDeletedoGetdoHeaddoOptionsdoPostdoPutdoTracegetLastModifiedinitservice

Field Detail

CLEARback to summary
pack-priv static String CLEAR
countback to summary
pack-priv int count
SDFback to summary
private static CachingDateFormatter SDF
serialVersionUIDback to summary
private static final long serialVersionUID

Hides jakarta.servlet.http.HttpServlet.serialVersionUID.

SUBMITback to summary
pack-priv static String SUBMIT

Constructor Detail

ViewStatusMessagesServletBaseback to summary
public ViewStatusMessagesServletBase()

Method Detail

abbreviatedOriginback to summary
pack-priv String abbreviatedOrigin(Status s)
getPageTitleback to summary
protected abstract String getPageTitle(HttpServletRequest req, HttpServletResponse resp)
getStatusManagerback to summary
protected abstract StatusManager getStatusManager(HttpServletRequest req, HttpServletResponse resp)
printCSSback to summary
public void printCSS(String localRef, PrintWriter output)
printHeaderback to summary
public void printHeader(StringBuilder buf)
printListback to summary
public void printList(StringBuilder buf, StatusManager sm)
printStatusback to summary
private void printStatus(StringBuilder buf, Status s)
printThrowableback to summary
private void printThrowable(StringBuilder buf, Throwable t)
serviceback to summary
protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException

Overrides jakarta.servlet.http.HttpServlet.service.

Doc from jakarta.servlet.http.HttpServlet.service.

Receives standard HTTP requests from the public service method and dispatches them to the doXXX methods defined in this class. This method is an HTTP-specific version of the jakarta.servlet.Servlet#service method. There's no need to override this method.

Parameters
req:HttpServletRequest

the HttpServletRequest object that contains the request the client made of the servlet

resp:HttpServletResponse

the HttpServletResponse object that contains the response the servlet returns to the client

Exceptions
ServletException:
if the HTTP request cannot be handled
IOException:
if an input or output error occurs while the servlet is handling the HTTP request
statusLevelAsStringback to summary
pack-priv String statusLevelAsString(Status s)