Class DefaultTextResourceLoader

java.lang.Object
io.micronaut.chatbots.core.DefaultTextResourceLoader
All Implemented Interfaces:
TextResourceLoader

@Requires(beans={ChatbotsConfiguration.class,io.micronaut.core.io.ResourceResolver.class}) @Singleton public class DefaultTextResourceLoader extends Object implements TextResourceLoader
Users ResourceLoader to load a static resource associated with a command. For a command such as /help
Since:
1.0.0
Author:
Sergio del Amo
  • Constructor Details

    • DefaultTextResourceLoader

      public DefaultTextResourceLoader(ChatbotsConfiguration chatbotsConfiguration, io.micronaut.core.io.ResourceResolver resourceResolver)
  • Method Details