@Singleton @Primary public class HyphenatedUriNamingStrategy extends Object implements RouteBuilder.UriNamingStrategy
RouteBuilder.UriNamingStrategy
if none is provided by the application.Constructor and Description |
---|
HyphenatedUriNamingStrategy() |
Modifier and Type | Method and Description |
---|---|
String |
resolveUri(BeanDefinition<?> beanDefinition)
Resolve the URI to use for the given type.
|
String |
resolveUri(Class type)
Resolve the URI to use for the given type.
|
String |
resolveUri(String property)
Resolve the URI to use for the given type.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
normalizeUri, resolveUri
public String resolveUri(Class type)
RouteBuilder.UriNamingStrategy
resolveUri
in interface RouteBuilder.UriNamingStrategy
type
- The type@NonNull public String resolveUri(BeanDefinition<?> beanDefinition)
RouteBuilder.UriNamingStrategy
resolveUri
in interface RouteBuilder.UriNamingStrategy
beanDefinition
- The type@NonNull public String resolveUri(String property)
RouteBuilder.UriNamingStrategy
resolveUri
in interface RouteBuilder.UriNamingStrategy
property
- The property