Package org.w3c.jigsaw.html

Examples of org.w3c.jigsaw.html.HtmlGenerator.meta()


     */
    public Reply listThreads (Request request) {
  // enumerate all thread, and return a full thread listing:
  int    tcount   = Thread.activeCount() ;
  HtmlGenerator g = new HtmlGenerator ("Thread status") ;
  g.meta ("Refresh", getValue(ATTR_REFRESH, REFRESH_DEFAULT).toString());
  addStyleSheet(g);
  // Dump thread informations:
  Thread tarray[] = new Thread[tcount] ;
  Thread.enumerate (tarray) ;
  g.append ("<h1>Thread dump</h1>") ;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.