Class FeedControllerConfigurationProperties

java.lang.Object
io.micronaut.rss.http.FeedControllerConfigurationProperties
All Implemented Interfaces:
io.micronaut.core.util.Toggleable, FeedControllerConfiguration

@ConfigurationProperties("micronaut.rss") public class FeedControllerConfigurationProperties extends Object implements FeedControllerConfiguration
ConfigurationProperties for FeedController.
Since:
1.0
Author:
Sergio del Amo
  • Field Details

  • Constructor Details

    • FeedControllerConfigurationProperties

      public FeedControllerConfigurationProperties()
  • Method Details

    • isEnabled

      public boolean isEnabled()
      Specified by:
      isEnabled in interface io.micronaut.core.util.Toggleable
    • setEnabled

      public void setEnabled(boolean enabled)
      Whether FeedController should be enabled. Default value (true).
      Parameters:
      enabled - enabled flag
    • setPath

      public void setPath(String path)
      Configures FeedController path. Default value "/feed"
      Parameters:
      path - Path to be matched by Token Propagation Filter.
    • getPath

      public String getPath()
      Specified by:
      getPath in interface FeedControllerConfiguration
      Returns:
      the path where FeedController listens.