Top Description Fields Constructors Methods
io.undertow.servlet.handlers

public Class ServletDebugPageHandler

extends Object
Class Inheritance
Imports
io.undertow.server.HttpServerExchange, io.undertow.servlet.spec.HttpServletRequestImpl, jakarta.servlet.ServletOutputStream, java.io.IOException, .PrintWriter, .StringWriter, java.nio.charset.StandardCharsets

generates a servlet error page with a stack trace
Author
Stuart Douglas

Field Summary

Modifier and TypeField and Description
public static final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static String
escapeBodyText(final String bodyText)

public static void
handleRequest(HttpServerExchange exchange, final ServletRequestContext servletRequestContext, final Throwable exception)

private static void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

ERROR_CSSback to summary
public static final String ERROR_CSS

Constructor Detail

ServletDebugPageHandlerback to summary
public ServletDebugPageHandler()

Method Detail

escapeBodyTextback to summary
public static String escapeBodyText(final String bodyText)
handleRequestback to summary
public static void handleRequest(HttpServerExchange exchange, final ServletRequestContext servletRequestContext, final Throwable exception) throws IOException
writeLabelback to summary
private static void writeLabel(StringBuilder sb, String label, String value)