org.apache.excalibur.instrument.manager.http
Class AbstractHTMLHandler
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
org.apache.excalibur.instrument.manager.http.AbstractHandler
org.apache.excalibur.instrument.manager.http.AbstractHTMLHandler
- All Implemented Interfaces:
- LogEnabled, Instrumentable, HTTPURLHandler
- Direct Known Subclasses:
- HTMLCreateSampleHandler, HTMLGCHandler, HTMLInstrumentableHandler, HTMLInstrumentHandler, HTMLInstrumentManagerHandler, HTMLRootHandler, HTMLSampleHandler, HTMLSampleLeaseHandler
public abstract class AbstractHTMLHandler
- extends AbstractHandler
- Since:
- 4.1
- Version:
- CVS $Revision: 1.7 $ $Date: 2004/03/10 13:56:56 $
- Author:
- Avalon Development Team
Method Summary |
protected void |
breadCrumbs(PrintWriter out,
boolean link)
|
protected void |
breadCrumbs(PrintWriter out,
InstrumentableDescriptor desc,
boolean link)
|
protected void |
breadCrumbs(PrintWriter out,
InstrumentDescriptor desc,
boolean link)
|
protected void |
breadCrumbs(PrintWriter out,
InstrumentSampleDescriptor desc,
boolean link)
|
protected void |
endTable(PrintWriter out)
|
protected void |
endTableHeaderRow(PrintWriter out)
|
protected void |
endTableRow(PrintWriter out)
|
protected void |
footer(PrintWriter out)
|
protected void |
outputInstrumentables(PrintWriter out,
InstrumentableDescriptor[] descs)
|
protected void |
outputInstruments(PrintWriter out,
InstrumentDescriptor[] descs)
|
protected void |
outputInstrumentSamples(PrintWriter out,
InstrumentSampleDescriptor[] descs,
boolean readOnly)
|
protected void |
startTable(PrintWriter out)
|
protected void |
startTableHeaderRow(PrintWriter out)
|
protected void |
startTableRow(PrintWriter out,
int row)
|
protected void |
tableCell(PrintWriter out,
String value)
|
protected void |
tableCellRight(PrintWriter out,
String value)
|
protected void |
tableHeaderCell(PrintWriter out,
String value)
|
protected void |
tableRow(PrintWriter out,
int row,
String label,
String value)
|
protected String |
urlEncode(String str)
|
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 |
AbstractHTMLHandler
public AbstractHTMLHandler(String path,
DefaultInstrumentManager manager,
InstrumentManagerHTTPConnector connector)
- Creates a new AbstractHTMLHandler.
- Parameters:
path
- The path handled by this handler.manager
- Reference to the instrument manager interface.connector
- The InstrumentManagerHTTPConnector.
urlEncode
protected String urlEncode(String str)
breadCrumbs
protected void breadCrumbs(PrintWriter out,
boolean link)
breadCrumbs
protected void breadCrumbs(PrintWriter out,
InstrumentableDescriptor desc,
boolean link)
breadCrumbs
protected void breadCrumbs(PrintWriter out,
InstrumentDescriptor desc,
boolean link)
breadCrumbs
protected void breadCrumbs(PrintWriter out,
InstrumentSampleDescriptor desc,
boolean link)
startTable
protected void startTable(PrintWriter out)
throws IOException
- Throws:
IOException
endTable
protected void endTable(PrintWriter out)
throws IOException
- Throws:
IOException
startTableHeaderRow
protected void startTableHeaderRow(PrintWriter out)
throws IOException
- Throws:
IOException
endTableHeaderRow
protected void endTableHeaderRow(PrintWriter out)
throws IOException
- Throws:
IOException
tableHeaderCell
protected void tableHeaderCell(PrintWriter out,
String value)
throws IOException
- Throws:
IOException
startTableRow
protected void startTableRow(PrintWriter out,
int row)
throws IOException
- Throws:
IOException
endTableRow
protected void endTableRow(PrintWriter out)
throws IOException
- Throws:
IOException
tableCell
protected void tableCell(PrintWriter out,
String value)
throws IOException
- Throws:
IOException
tableCellRight
protected void tableCellRight(PrintWriter out,
String value)
throws IOException
- Throws:
IOException
tableRow
protected void tableRow(PrintWriter out,
int row,
String label,
String value)
throws IOException
- Throws:
IOException
footer
protected void footer(PrintWriter out)
outputInstrumentables
protected void outputInstrumentables(PrintWriter out,
InstrumentableDescriptor[] descs)
throws IOException
- Throws:
IOException
outputInstruments
protected void outputInstruments(PrintWriter out,
InstrumentDescriptor[] descs)
throws IOException
- Throws:
IOException
outputInstrumentSamples
protected void outputInstrumentSamples(PrintWriter out,
InstrumentSampleDescriptor[] descs,
boolean readOnly)
throws IOException
- Throws:
IOException
Copyright © 1997-2012 The Apache Software Foundation. All Rights Reserved.