org.skyscreamer.yoga.listener
Interface RenderingListener
- All Known Implementing Classes:
- CountLimitRenderingListener, HrefListener, MetadataLinkListener, ModelDefinitionListener, NavigationLinksListener, SelectorBuilderListener
public interface RenderingListener
A Rendering Listener is an object that contains rules for processing or decorating the output from a Yoga call
before it is returned to the user. Any rendering listener that lives in an application's
RenderingListenerRegistry will be invoked after a Yoga invocation.
- See Also:
RenderingListenerRegistry
|
Method Summary |
|
eventOccurred(RenderingEvent<T> event)
The eventOccurred method is invoked by Yoga on each RenderingListener in the application's registry
before the response data is returned to the user |
eventOccurred
<T> void eventOccurred(RenderingEvent<T> event)
throws IOException
- The eventOccurred method is invoked by Yoga on each RenderingListener in the application's registry
before the response data is returned to the user
- Parameters:
event - The RenderingEvent object provides the RenderingListener with context information about the
Yoga call, including the HTTP request and response, the selectors used, and the response data
- Throws:
IOException
Copyright © 2013. All Rights Reserved.