Class ServletDebugPageHandler


  • public class ServletDebugPageHandler
    extends java.lang.Object
    generates a servlet error page with a stack trace
    Author:
    Stuart Douglas
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String ERROR_CSS  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String escapeBodyText​(java.lang.String bodyText)  
      static void handleRequest​(io.undertow.server.HttpServerExchange exchange, ServletRequestContext servletRequestContext, java.lang.Throwable exception)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ServletDebugPageHandler

        public ServletDebugPageHandler()
    • Method Detail

      • handleRequest

        public static void handleRequest​(io.undertow.server.HttpServerExchange exchange,
                                         ServletRequestContext servletRequestContext,
                                         java.lang.Throwable exception)
                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • escapeBodyText

        public static java.lang.String escapeBodyText​(java.lang.String bodyText)