Class DebugInfoServer

  • All Implemented Interfaces:
    DebugInfo

    public class DebugInfoServer
    extends Object
    implements DebugInfo
    Server debug information.
    • Constructor Detail

      • DebugInfoServer

        public DebugInfoServer​(javax.servlet.http.HttpServletRequest httpServletRequest)
    • Method Detail

      • getName

        public String getName()
        Description copied from interface: DebugInfo
        Gets the name of this debug information part, useful as title.
        Specified by:
        getName in interface DebugInfo
        Returns:
        the name
      • appendJson

        public void appendJson​(JsonStreamWriter jsonStreamWriter)
                        throws IOException
        Description copied from interface: DebugInfo
        Appends the content of this debug information part to the given JSON stream writer.
        Specified by:
        appendJson in interface DebugInfo
        Parameters:
        jsonStreamWriter - a JSON stream writer
        Throws:
        IOException - Caso ocorra exceção
      • appendHtml

        public void appendHtml​(Writer writer)
                        throws IOException
        Description copied from interface: DebugInfo
        Appends the content of this debug information part to the given writer.
        Specified by:
        appendHtml in interface DebugInfo
        Parameters:
        writer - a Writer
        Throws:
        IOException - Caso ocorra exceção