Class ThreadStackPrinter

  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by
              extended by
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class ThreadStackPrinter
extends TextResponseHandler

HTTP handler to print the stacks of all live threads.

See Also:
Serialized Form

Constructor Summary
Method Summary
 Iterable<String> getLines(javax.servlet.http.HttpServletRequest request)
          Returns the lines to be printed as the body of the response.
Methods inherited from class
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public ThreadStackPrinter()
Method Detail


public Iterable<String> getLines(javax.servlet.http.HttpServletRequest request)
Description copied from class: TextResponseHandler
Returns the lines to be printed as the body of the response.

Specified by:
getLines in class TextResponseHandler
An iterable collection of lines to respond to the request with.