    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class org.w3c.jigsaw.status.StatisticsFrame

    java.lang.Object
       |
       +----org.w3c.tools.resources.AttributeHolder
               |
               +----org.w3c.tools.resources.Resource
                       |
                       +----org.w3c.tools.resources.FramedResource
                               |
                               +----org.w3c.tools.resources.ResourceFrame
                                       |
                                       +----org.w3c.tools.resources.ProtocolFrame
                                               |
                                               +----org.w3c.jigsaw.frames.HTTPFrame
                                                       |
                                                       +----org.w3c.jigsaw.status.StatisticsFrame

public class StatisticsFrame
extends HTTPFrame

This class exports the server statistics. It makes available a bunch of various parameters about the current server, and uses the Refresh meta-tag (as the ThreadStat) to make them redisplay.

This would benefit from being an applet.

##

ATTR_REFRESH
  Attribute index - Our refresh interval.
REFRESH_DEFAULT

##

StatisticsFrame()

##

get(Request)
  Get the current set of statistics.
registerResource(FramedResource)
  Register this frame to the given resource.

##

REFRESH_DEFAULT

     protected static Integer REFRESH_DEFAULT

ATTR_REFRESH

     protected static int ATTR_REFRESH

  Attribute index - Our refresh interval.

##

StatisticsFrame

     public StatisticsFrame()

##

registerResource

     public void registerResource(FramedResource resource)

  Register this frame to the given resource.

  Overrides:
    registerResource in class HTTPFrame

get

     public Reply get(Request request)

  Get the current set of statistics. Display the collected statistics in an HTML table.

  Parameters:
    request - TYhe request to process.
  Overrides:
    get in class HTTPFrame

    All Packages  Class Hierarchy  This Package  Previous  Next  Index