org.apache.excalibur.instrument.manager.http.server
Class AbstractHTTPURLPrintWriterHandler
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.excalibur.instrument.AbstractLogEnabledInstrumentable
org.apache.excalibur.instrument.manager.http.server.AbstractHTTPURLHandler
org.apache.excalibur.instrument.manager.http.server.AbstractHTTPURLPrintWriterHandler
- All Implemented Interfaces:
- HTTPURLHandler, Instrumentable, LogEnabled
- Direct Known Subclasses:
- AbstractHandler
- public abstract class AbstractHTTPURLPrintWriterHandler
- extends AbstractHTTPURLHandler
- Since:
- 4.1
- Version:
- CVS $Revision: 1.1 $ $Date: 2004/03/06 14:01:28 $
- Author:
- Avalon Development Team
Constructor Summary |
AbstractHTTPURLPrintWriterHandler(java.lang.String path,
java.lang.String contentType,
java.lang.String encoding)
Creates a new AbstractHTTPURLPrintWriterHandler. |
Method Summary |
void |
doGet(java.lang.String path,
java.util.Map parameters,
java.io.OutputStream os)
Handles the specified request. |
abstract void |
doGet(java.lang.String path,
java.util.Map parameters,
java.io.PrintWriter out)
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractHTTPURLPrintWriterHandler
public AbstractHTTPURLPrintWriterHandler(java.lang.String path,
java.lang.String contentType,
java.lang.String encoding)
- Creates a new AbstractHTTPURLPrintWriterHandler.
- Parameters:
path
- The path handled by this handler.contentType
- The content type.encoding
- The encoding to use when writing servlet results.
doGet
public final 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
doGet
public abstract void doGet(java.lang.String path,
java.util.Map parameters,
java.io.PrintWriter out)
throws java.io.IOException
- Handles the specified request.
- Parameters:
parameters
- A Map of the parameters in the request.
- Throws:
java.io.IOException
Copyright © 1997-2005 The Apache Software Foundation. All Rights Reserved.