org.apache.tapestry5.services
public interface: ComponentEventResultProcessor [javadoc |
source]
All Known Implementing Classes:
PageNameComponentEventResultProcessor, ObjectComponentEventResultProcessor, ComponentInstanceResultProcessor, ClassResultProcessor, JSONObjectEventResultProcessor, AjaxComponentInstanceEventResultProcessor, JSONArrayEventResultProcessor, RenderCommandComponentEventResultProcessor, AjaxPageNameComponentEventResultProcessor, AjaxLinkComponentEventResultProcessor, AjaxPageClassComponentEventResultProcessor, StreamResponseResultProcessor
Responsible for handling the return value provided by a component event handler method.
There are two services built into Tapestry that implement this interface: ComponentEventResultProcessor (used for
ordinary page-oriented requests, and distinguished by the @
org.apache.tapestry5.services.Traditional and/or
Parameters:
-
- {@link:
org.apache.tapestry5.ioc.annotations.Primary
- } marker annotations) and AjaxComponentEventResultProcessor, used
for Ajax requests (which typically return a partially rendered page), distinguished by the @org.apache.tapestry5.services.Ajax marker annotation.
Method from org.apache.tapestry5.services.ComponentEventResultProcessor Summary: |
---|
processResultValue |
Method from org.apache.tapestry5.services.ComponentEventResultProcessor Detail: |
public void processResultValue(T value) throws IOException
For a given, non-null return value from a component event method, construct and send a response. |