public class SampleChartHandler extends AbstractHTTPURLHandler
| Modifier and Type | Field and Description |
|---|---|
private boolean |
m_antialias
Default antialias flag.
|
private int |
m_height
Default height of the image.
|
private org.apache.excalibur.instrument.manager.DefaultInstrumentManager |
m_manager
The instrument manager
|
private int |
m_width
Default width of the image.
|
CONTENT_TYPE_IMAGE_JPEG, CONTENT_TYPE_IMAGE_X_ICON, CONTENT_TYPE_TEXT_HTML, CONTENT_TYPE_TEXT_XML| Constructor and Description |
|---|
SampleChartHandler(org.apache.excalibur.instrument.manager.DefaultInstrumentManager manager,
int width,
int height,
boolean antialias)
Creates a new SampleChartHandler.
|
| Modifier and Type | Method and Description |
|---|---|
void |
doGet(java.lang.String path,
java.util.Map parameters,
java.io.OutputStream os)
Handles the specified request.
|
getBooleanParameter, getBooleanParameter, getContentType, getEncoding, getIntegerParameter, getIntegerParameter, getIntegerParameters, getLongParameter, getLongParameter, getLongParameters, getParameter, getParameter, getParameters, getPath, handleRequestaddChildInstrumentable, addInstrument, getChildInstrumentables, getInstrumentableName, getInstruments, setInstrumentableNameprivate org.apache.excalibur.instrument.manager.DefaultInstrumentManager m_manager
private int m_width
private int m_height
private boolean m_antialias
public SampleChartHandler(org.apache.excalibur.instrument.manager.DefaultInstrumentManager manager,
int width,
int height,
boolean antialias)
manager - Reference to the instrument manager interface.width - Default image width.height - Default image height.antialias - True if the default antialias parameter should be true.public void doGet(java.lang.String path,
java.util.Map parameters,
java.io.OutputStream os)
throws java.io.IOException
doGet in class AbstractHTTPURLHandlerThe - full path being handled.parameters - A Map of the parameters in the request.os - The OutputStream to write the result to.java.io.IOException