@Singleton public class DefaultInterceptUrlPatternModifier extends java.lang.Object implements InterceptUrlPatternModifier
SecurityConfiguration.isInterceptUrlMapPrependPatternWithContextPath()
is set to true
the URL patterns are prepended with the server context path if set.Constructor and Description |
---|
DefaultInterceptUrlPatternModifier(SecurityConfiguration securityConfiguration,
io.micronaut.http.context.ServerContextPathProvider serverContextPathProvider) |
Modifier and Type | Method and Description |
---|---|
InterceptUrlMapPattern |
modify(InterceptUrlMapPattern interceptUrlMapPattern) |
public DefaultInterceptUrlPatternModifier(SecurityConfiguration securityConfiguration, io.micronaut.http.context.ServerContextPathProvider serverContextPathProvider)
@NonNull public InterceptUrlMapPattern modify(@NonNull InterceptUrlMapPattern interceptUrlMapPattern)
modify
in interface InterceptUrlPatternModifier
interceptUrlMapPattern
- Intercept url pattern