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

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.server.AbstractHTTPURLPrintWriterHandler
                  extended byorg.apache.excalibur.instrument.manager.http.AbstractHandler
All Implemented Interfaces:
HTTPURLHandler, Instrumentable, LogEnabled
Direct Known Subclasses:
AbstractHTMLHandler, AbstractXMLHandler

public abstract class AbstractHandler
extends AbstractHTTPURLPrintWriterHandler

Since:
4.1
Version:
CVS $Revision: 1.5 $ $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
AbstractHandler(java.lang.String path, java.lang.String contentType, DefaultInstrumentManager manager)
          Creates a new AbstractHandler.
 
Method Summary
 DefaultInstrumentManager getInstrumentManager()
          Returns a reference to the instrument manager interface.
 
Methods inherited from class org.apache.excalibur.instrument.manager.http.server.AbstractHTTPURLPrintWriterHandler
doGet, doGet
 
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

AbstractHandler

public AbstractHandler(java.lang.String path,
                       java.lang.String contentType,
                       DefaultInstrumentManager manager)
Creates a new AbstractHandler.

Parameters:
path - The path handled by this handler.
contentType - The content type.
manager - Reference to the instrument manager interface.
Method Detail

getInstrumentManager

public DefaultInstrumentManager getInstrumentManager()
Returns a reference to the instrument manager interface.

Returns:
A reference to the instrument manager interface.


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