public class UriGenerator extends Object
| Constructor and Description |
|---|
UriGenerator() |
UriGenerator(EntityConfigurationRegistry _entityConfigurationRegistry) |
| Modifier and Type | Method and Description |
|---|---|
String |
determineTemplate(Class<?> instanceType) |
protected String |
determineTemplateForUnknownType(Class<?> instanceType)
override this if you want custom behavior
|
<T> String |
getUrl(RenderingEvent<T> event,
String suffix) |
<T> String |
getUrl(String uriTemplate,
String suffix,
RenderingEvent<T> event) |
protected <T> String |
getUrlVal(String uriTemplate,
String suffix,
RenderingEvent<T> event) |
void |
setEntityConfigurationRegistry(EntityConfigurationRegistry entityConfigurationRegistry) |
public UriGenerator()
public UriGenerator(EntityConfigurationRegistry _entityConfigurationRegistry)
public void setEntityConfigurationRegistry(EntityConfigurationRegistry entityConfigurationRegistry)
public <T> String getUrl(RenderingEvent<T> event, String suffix) throws IOException
IOExceptionprotected String determineTemplateForUnknownType(Class<?> instanceType)
public <T> String getUrl(String uriTemplate, String suffix, RenderingEvent<T> event)
protected <T> String getUrlVal(String uriTemplate, String suffix, RenderingEvent<T> event)
Copyright © 2014. All Rights Reserved.