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

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.FavIconHandler
All Implemented Interfaces:
HTTPURLHandler, Instrumentable, LogEnabled

public class FavIconHandler
extends AbstractHTTPURLHandler

Serves up a favicon.ico file.

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
FavIconHandler()
          Creates a new FavIconHandler.
 
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

FavIconHandler

public FavIconHandler()
Creates a new FavIconHandler.

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.