public class HrefListener extends Object implements RenderingListener
| Constructor and Description |
|---|
HrefListener() |
HrefListener(EntityConfigurationRegistry _entityConfigurationRegistry)
Deprecated.
|
HrefListener(UriGenerator uriGenerator) |
| Modifier and Type | Method and Description |
|---|---|
<T> void |
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
|
UriGenerator |
getUriGenerator() |
<T> String |
getUrl(RenderingEvent<T> event,
String suffix) |
void |
setEntityConfigurationRegistry(EntityConfigurationRegistry entityConfigurationRegistry)
Deprecated.
|
void |
setUriGenerator(UriGenerator uriGenerator) |
public HrefListener()
@Deprecated public HrefListener(EntityConfigurationRegistry _entityConfigurationRegistry)
public HrefListener(UriGenerator uriGenerator)
public void setUriGenerator(UriGenerator uriGenerator)
public UriGenerator getUriGenerator()
@Deprecated public void setEntityConfigurationRegistry(EntityConfigurationRegistry entityConfigurationRegistry)
public <T> void eventOccurred(RenderingEvent<T> event) throws IOException
RenderingListenereventOccurred in interface RenderingListenerevent - 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 dataIOExceptionpublic <T> String getUrl(RenderingEvent<T> event, String suffix) throws IOException
IOExceptionCopyright © 2014. All Rights Reserved.