Class ConfigurableUriNamingStrategy

    • Constructor Summary

      Constructors 
      Constructor Description
      ConfigurableUriNamingStrategy​(java.lang.String contextPath)
      Constructs a new uri naming strategy for the given property.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String resolveUri​(io.micronaut.inject.BeanDefinition<?> beanDefinition)
      Resolve the URI to use for the given type.
      java.lang.String resolveUri​(java.lang.Class type)
      Resolve the URI to use for the given type.
      java.lang.String resolveUri​(java.lang.Class type, io.micronaut.core.naming.conventions.PropertyConvention id)
      Resolve the URI to use for the given type and route id.
      java.lang.String resolveUri​(java.lang.String property)
      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, wait
    • Constructor Detail

      • ConfigurableUriNamingStrategy

        public ConfigurableUriNamingStrategy​(@Value("${micronaut.server.context-path}")
                                             java.lang.String contextPath)
        Constructs a new uri naming strategy for the given property.
        Parameters:
        contextPath - the "micronaut.server.context-path" property value