Interface FetchMetadataFilterConfiguration
- All Superinterfaces:
io.micronaut.core.util.Toggleable
public interface FetchMetadataFilterConfiguration
extends io.micronaut.core.util.Toggleable
Configuration for the Fetch Metadata request filter.
The configuration bean only exists while the filter is enabled, so Toggleable.isEnabled()
returns true for any injected instance. Use PROPERTY_ENABLED with
@Requires to make a bean depend on whether the filter is enabled.
- Since:
- 5.6.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringConfiguration prefix for the Fetch Metadata request filter.static final StringProperty that enables or disables the Fetch Metadata request filter.static final StringProperty that sets the request path pattern the Fetch Metadata request filter applies to. -
Method Summary
Modifier and TypeMethodDescriptionReturns the request path pattern to which the Fetch Metadata filter applies.Methods inherited from interface io.micronaut.core.util.Toggleable
isEnabled
-
Field Details
-
PREFIX
-
PROPERTY_ENABLED
Property that enables or disables the Fetch Metadata request filter.- See Also:
-
PROPERTY_PATTERN
Property that sets the request path pattern the Fetch Metadata request filter applies to.- See Also:
-
-
Method Details
-
getPattern
String getPattern()Returns the request path pattern to which the Fetch Metadata filter applies.- Returns:
- the pattern the
FetchMetadataFiltershould match
-