Package io.micronaut.rss.http
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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetPath()
boolean
void
setEnabled
(boolean enabled) WhetherFeedController
should be enabled.void
ConfiguresFeedController
path.
-
Field Details
-
PREFIX
- See Also:
-
DEFAULT_ENABLED
public static final boolean DEFAULT_ENABLEDThe default enable value.- See Also:
-
DEFAULT_PATH
The default path.- See Also:
-
-
Constructor Details
-
FeedControllerConfigurationProperties
public FeedControllerConfigurationProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabled
in interfaceio.micronaut.core.util.Toggleable
-
setEnabled
public void setEnabled(boolean enabled) WhetherFeedController
should be enabled. Default value (true).- Parameters:
enabled
- enabled flag
-
setPath
ConfiguresFeedController
path. Default value "/feed"- Parameters:
path
- Path to be matched by Token Propagation Filter.
-
getPath
- Specified by:
getPath
in interfaceFeedControllerConfiguration
- Returns:
- the path where
FeedController
listens.
-