Package io.micronaut.web.router.naming
Class ConfigurableUriNamingStrategy
java.lang.Object
io.micronaut.web.router.naming.HyphenatedUriNamingStrategy
io.micronaut.web.router.naming.ConfigurableUriNamingStrategy
- All Implemented Interfaces:
RouteBuilder.UriNamingStrategy
@Deprecated(since="4.5.0",
forRemoval=true)
public class ConfigurableUriNamingStrategy
extends HyphenatedUriNamingStrategy
Deprecated, for removal: This API element is subject to removal in a future version.
The configurable
RouteBuilder.UriNamingStrategy
if property "micronaut.server.context-path" has been set.- Since:
- 1.2.0
- Author:
- Andrey Tsarenko
-
Constructor Summary
ConstructorsConstructorDescriptionConfigurableUriNamingStrategy(String contextPath) Deprecated, for removal: This API element is subject to removal in a future version.Constructs a new uri naming strategy for the given property. -
Method Summary
Modifier and TypeMethodDescriptionresolveUri(BeanDefinition<?> beanDefinition) Deprecated, for removal: This API element is subject to removal in a future version.Resolve the URI to use for the given type.resolveUri(Class<?> type) Deprecated, for removal: This API element is subject to removal in a future version.Resolve the URI to use for the given type.resolveUri(Class<?> type, PropertyConvention id) Deprecated, for removal: This API element is subject to removal in a future version.Resolve the URI to use for the given type and route id.resolveUri(String property) Deprecated, for removal: This API element is subject to removal in a future version.Resolve the URI to use for the given type.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.web.router.RouteBuilder.UriNamingStrategy
normalizeUri
-
Constructor Details
-
ConfigurableUriNamingStrategy
Deprecated, for removal: This API element is subject to removal in a future version.Constructs a new uri naming strategy for the given property.- Parameters:
contextPath- the "micronaut.server.context-path" property value
-
-
Method Details
-
resolveUri
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:RouteBuilder.UriNamingStrategyResolve the URI to use for the given type.- Specified by:
resolveUriin interfaceRouteBuilder.UriNamingStrategy- Overrides:
resolveUriin classHyphenatedUriNamingStrategy- Parameters:
type- The type- Returns:
- The URI to use
-
resolveUri
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:RouteBuilder.UriNamingStrategyResolve the URI to use for the given type.- Specified by:
resolveUriin interfaceRouteBuilder.UriNamingStrategy- Overrides:
resolveUriin classHyphenatedUriNamingStrategy- Parameters:
beanDefinition- The type- Returns:
- The URI to use
-
resolveUri
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:RouteBuilder.UriNamingStrategyResolve the URI to use for the given type.- Specified by:
resolveUriin interfaceRouteBuilder.UriNamingStrategy- Overrides:
resolveUriin classHyphenatedUriNamingStrategy- Parameters:
property- The property- Returns:
- The URI to use
-
resolveUri
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:RouteBuilder.UriNamingStrategyResolve the URI to use for the given type and route id.- Parameters:
type- The typeid- the route id- Returns:
- The URI to use
-
HyphenatedUriNamingStrategy