org.apache.excalibur.instrument.manager.http
Class SampleChartHandler

java.lang.Object
  extended byorg.apache.avalon.framework.logger.AbstractLogEnabled
      extended byorg.apache.excalibur.instrument.AbstractLogEnabledInstrumentable
          extended byorg.apache.excalibur.instrument.manager.http.server.AbstractHTTPURLHandler
              extended byorg.apache.excalibur.instrument.manager.http.SampleChartHandler
All Implemented Interfaces:
HTTPURLHandler, Instrumentable, LogEnabled

public class SampleChartHandler
extends AbstractHTTPURLHandler

Since:
4.1
Version:
CVS $Revision: 1.9 $ $Date: 2004/03/06 14:01:28 $
Author:
Avalon Development Team

Field Summary
 
Fields inherited from interface org.apache.excalibur.instrument.manager.http.server.HTTPURLHandler
CONTENT_TYPE_IMAGE_JPEG, CONTENT_TYPE_IMAGE_X_ICON, CONTENT_TYPE_TEXT_HTML, CONTENT_TYPE_TEXT_XML
 
Fields inherited from interface org.apache.excalibur.instrument.Instrumentable
EMPTY_INSTRUMENT_ARRAY, EMPTY_INSTRUMENTABLE_ARRAY
 
Constructor Summary
SampleChartHandler(DefaultInstrumentManager manager, int width, int height, boolean antialias)
          Creates a new SampleChartHandler.
 
Method Summary
 void doGet(java.lang.String path, java.util.Map parameters, java.io.OutputStream os)
          Handles the specified request.
 
Methods inherited from class org.apache.excalibur.instrument.manager.http.server.AbstractHTTPURLHandler
getBooleanParameter, getBooleanParameter, getContentType, getEncoding, getIntegerParameter, getIntegerParameter, getIntegerParameters, getLongParameter, getLongParameter, getLongParameters, getParameter, getParameter, getParameters, getPath, handleRequest
 
Methods inherited from class org.apache.excalibur.instrument.AbstractLogEnabledInstrumentable
addChildInstrumentable, addInstrument, getChildInstrumentables, getInstrumentableName, getInstruments, setInstrumentableName
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SampleChartHandler

public SampleChartHandler(DefaultInstrumentManager manager,
                          int width,
                          int height,
                          boolean antialias)
Creates a new SampleChartHandler.

Parameters:
manager - Reference to the instrument manager interface.
width - Default image width.
height - Default image height.
antialias - True if the default antialias parameter should be true.
Method Detail

doGet

public void doGet(java.lang.String path,
                  java.util.Map parameters,
                  java.io.OutputStream os)
           throws java.io.IOException
Handles the specified request.

Specified by:
doGet in class AbstractHTTPURLHandler
Parameters:
parameters - A Map of the parameters in the request.
os - The OutputStream to write the result to.
Throws:
java.io.IOException


Copyright © 1997-2005 The Apache Software Foundation. All Rights Reserved.