@ConfigurationProperties(value="micronaut.rss") public class FeedControllerConfigurationProperties extends java.lang.Object implements FeedControllerConfiguration
ConfigurationProperties for FeedController.| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEFAULT_ENABLED
The default enable value.
|
static java.lang.String |
DEFAULT_PATH
The default path.
|
static java.lang.String |
PREFIX |
| Constructor and Description |
|---|
FeedControllerConfigurationProperties() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getPath() |
boolean |
isEnabled() |
void |
setEnabled(boolean enabled)
Whether
FeedController should be enabled. |
void |
setPath(java.lang.String path)
Configures
FeedController path. |
public static final java.lang.String PREFIX
public static final boolean DEFAULT_ENABLED
public static final java.lang.String DEFAULT_PATH
public FeedControllerConfigurationProperties()
public boolean isEnabled()
isEnabled in interface io.micronaut.core.util.Toggleablepublic void setEnabled(boolean enabled)
FeedController should be enabled. Default value (true).enabled - enabled flagpublic void setPath(java.lang.String path)
FeedController path. Default value "/feed"path - Path to be matched by Token Propagation Filter.public java.lang.String getPath()
getPath in interface FeedControllerConfigurationFeedController listens.