public abstract class RawScreen extends Object implements 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 |
|---|---|
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.
|
public 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.public final String getLayout(PipelineData pipelineData)
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.