C - the context typepublic class StreamFunctionExecutor<C> extends AbstractExecutor<C>
A base function executor for handling input and output as streams
.applicationContext| Constructor and Description | 
|---|
StreamFunctionExecutor()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
execute(InputStream input,
       OutputStream output)
Execute the function for the given input and output. 
 | 
protected void | 
execute(InputStream input,
       OutputStream output,
       C context)
Execute the function with given context object. 
 | 
buildApplicationContext, close, getApplicationContext, newApplicationContextBuilder, resolveFunction, resolveFunctionName, startEnvironmentpublic void execute(InputStream input, OutputStream output) throws IOException
input - The inputoutput - The outputIOException - If an I/O exception occursprotected void execute(InputStream input, OutputStream output, C context) throws IOException
input - The InputStreamoutput - THe OutputStreamcontext - The context objectIOException - If an error occurs