public abstract class RawScreen extends Screen
getContentType(PipelineData data) and
doOutput(PipelineData data) (see below).
You might want to take a look at the ImageServer screen class
contained in the TDK.
CACHE_SIZE_DEFAULT, CACHE_SIZE_KEY, NAME, PREFIX| Constructor and Description |
|---|
RawScreen() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
doBuild(PipelineData pipelineData)
Build the Screen.
|
protected abstract void |
doOutput(PipelineData pipelineData)
Actually output the dynamic content.
|
protected abstract String |
getContentType(PipelineData pipelineData)
Set the content type.
|
String |
getLayout(PipelineData pipelineData)
The layout must be set to null.
|
getRunDatapublic RawScreen()
protected final String doBuild(PipelineData pipelineData) throws Exception
protected abstract String getContentType(PipelineData pipelineData)
pipelineData - Turbine information.protected abstract void doOutput(PipelineData pipelineData) throws Exception
OutputStream out = data.getResponse().getOutputStream();.
pipelineData - Turbine information.Exception, - a generic exception.Exceptionpublic final String getLayout(PipelineData pipelineData)
Copyright © 2000-2015 The Apache Software Foundation. All Rights Reserved.