Package io.micronaut.security.config
Class InterceptUrlMapConverter
java.lang.Object
io.micronaut.security.config.InterceptUrlMapConverter
- All Implemented Interfaces:
io.micronaut.core.convert.TypeConverter<Map<String,
Object>, InterceptUrlMapPattern>
@Requires(classes=io.micronaut.http.HttpMethod.class)
@Singleton
public class InterceptUrlMapConverter
extends Object
implements io.micronaut.core.convert.TypeConverter<Map<String,Object>,InterceptUrlMapPattern>
- Since:
- 1.0
- Author:
- Sergio del Amo
-
Method Details
-
convert
public Optional<InterceptUrlMapPattern> convert(Map<String, Object> m, Class<InterceptUrlMapPattern> targetType, io.micronaut.core.convert.ConversionContext context) - Specified by:
convert
in interfaceio.micronaut.core.convert.TypeConverter<Map<String,
Object>, InterceptUrlMapPattern> - Parameters:
m
- a Map in the configurationtargetType
- The target type being converted tocontext
- TheConversionContext
- Returns:
- An optional InterceptUrlMapConverter
-