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:
- HTTPURLHandler, Instrumentable, LogEnabled
- Direct Known Subclasses:
- HTMLCreateSampleHandler, 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:
| Fields inherited from class org.apache.excalibur.instrument.manager.http.AbstractHandler |
|
| Method Summary |
protected void |
breadCrumbs(java.io.PrintWriter out, boolean link)
|
protected void |
breadCrumbs(java.io.PrintWriter out, InstrumentableDescriptor desc, boolean link)
|
protected void |
breadCrumbs(java.io.PrintWriter out, InstrumentDescriptor desc, boolean link)
|
protected void |
breadCrumbs(java.io.PrintWriter out, InstrumentSampleDescriptor desc, boolean link)
|
protected void |
endTable(java.io.PrintWriter out)
|
protected void |
endTableHeaderRow(java.io.PrintWriter out)
|
protected void |
endTableRow(java.io.PrintWriter out)
|
protected void |
footer(java.io.PrintWriter out)
|
protected void |
outputInstrumentables(java.io.PrintWriter out, InstrumentableDescriptor[] descs)
|
protected void |
outputInstruments(java.io.PrintWriter out, InstrumentDescriptor[] descs)
|
protected void |
outputInstrumentSamples(java.io.PrintWriter out, InstrumentSampleDescriptor[] descs)
|
protected void |
startTable(java.io.PrintWriter out)
|
protected void |
startTableHeaderRow(java.io.PrintWriter out)
|
protected void |
startTableRow(java.io.PrintWriter out, int row)
|
protected void |
tableCell(java.io.PrintWriter out, java.lang.String value)
|
protected void |
tableCellRight(java.io.PrintWriter out, java.lang.String value)
|
protected void |
tableHeaderCell(java.io.PrintWriter out, java.lang.String value)
|
protected void |
tableRow(java.io.PrintWriter out, int row, java.lang.String label, java.lang.String value)
|
protected java.lang.String |
urlEncode(java.lang.String str)
|
| Methods inherited from class org.apache.excalibur.instrument.manager.http.server.AbstractHTTPURLHandler |
getContentType, getEncoding, getIntegerParameter, 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(java.lang.String path,
InstrumentManagerClient manager)
-
Creates a new AbstractHTMLHandler.
- Parameters:
path - The path handled by this handler.
manager - Reference to the instrument manager client interface.
urlEncode
protected java.lang.String urlEncode(java.lang.String str)
-
breadCrumbs
protected void breadCrumbs(java.io.PrintWriter out,
boolean link)
-
breadCrumbs
protected void breadCrumbs(java.io.PrintWriter out,
InstrumentableDescriptor desc,
boolean link)
-
breadCrumbs
protected void breadCrumbs(java.io.PrintWriter out,
InstrumentDescriptor desc,
boolean link)
-
breadCrumbs
protected void breadCrumbs(java.io.PrintWriter out,
InstrumentSampleDescriptor desc,
boolean link)
-
startTable
protected void startTable(java.io.PrintWriter out)
throws java.io.IOException
-
- Throws:
java.io.IOException
endTable
protected void endTable(java.io.PrintWriter out)
throws java.io.IOException
-
- Throws:
java.io.IOException
startTableHeaderRow
protected void startTableHeaderRow(java.io.PrintWriter out)
throws java.io.IOException
-
- Throws:
java.io.IOException
endTableHeaderRow
protected void endTableHeaderRow(java.io.PrintWriter out)
throws java.io.IOException
-
- Throws:
java.io.IOException
tableHeaderCell
protected void tableHeaderCell(java.io.PrintWriter out,
java.lang.String value)
throws java.io.IOException
-
- Throws:
java.io.IOException
startTableRow
protected void startTableRow(java.io.PrintWriter out,
int row)
throws java.io.IOException
-
- Throws:
java.io.IOException
endTableRow
protected void endTableRow(java.io.PrintWriter out)
throws java.io.IOException
-
- Throws:
java.io.IOException
tableCell
protected void tableCell(java.io.PrintWriter out,
java.lang.String value)
throws java.io.IOException
-
- Throws:
java.io.IOException
tableCellRight
protected void tableCellRight(java.io.PrintWriter out,
java.lang.String value)
throws java.io.IOException
-
- Throws:
java.io.IOException
tableRow
protected void tableRow(java.io.PrintWriter out,
int row,
java.lang.String label,
java.lang.String value)
throws java.io.IOException
-
- Throws:
java.io.IOException
footer
protected void footer(java.io.PrintWriter out)
-
outputInstrumentables
protected void outputInstrumentables(java.io.PrintWriter out,
InstrumentableDescriptor[] descs)
throws java.io.IOException
-
- Throws:
java.io.IOException
outputInstruments
protected void outputInstruments(java.io.PrintWriter out,
InstrumentDescriptor[] descs)
throws java.io.IOException
-
- Throws:
java.io.IOException
outputInstrumentSamples
protected void outputInstrumentSamples(java.io.PrintWriter out,
InstrumentSampleDescriptor[] descs)
throws java.io.IOException
-
- Throws:
java.io.IOException
Please see keelframework.org for information about new Keel releases.