public class StreamPageContentResultProcessor extends Object implements ComponentEventResultProcessor<StreamPageContent>
Constructor and Description |
---|
StreamPageContentResultProcessor(PageRenderRequestHandler handler,
ComponentClassResolver resolver,
TypeCoercer typeCoercer,
RequestGlobals requestGlobals,
Request request) |
Modifier and Type | Method and Description |
---|---|
void |
processResultValue(StreamPageContent value)
For a given, non-null return value from a component event method, construct and send a response.
|
public StreamPageContentResultProcessor(PageRenderRequestHandler handler, ComponentClassResolver resolver, TypeCoercer typeCoercer, RequestGlobals requestGlobals, Request request)
public void processResultValue(StreamPageContent value) throws IOException
ComponentEventResultProcessor
IOOperation
to do the rendering, and
add the operation to the Request
as attribute
TapestryConstants.RESPONSE_RENDERER
.
This avoids a number of issues related to the Environment
.processResultValue
in interface ComponentEventResultProcessor<StreamPageContent>
value
- the value returned from a methodIOException
5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.