Class InterceptUrlMapConverter
java.lang.Object
io.micronaut.openapi.visitor.security.InterceptUrlMapConverter
- All Implemented Interfaces:
io.micronaut.core.convert.TypeConverter<Map,
InterceptUrlMapPattern>
@Internal
public class InterceptUrlMapConverter
extends Object
implements io.micronaut.core.convert.TypeConverter<Map,InterceptUrlMapPattern>
Copy of class io.micronaut.security.config.InterceptUrlMapConverter from micronaut-security.
- Since:
- 4.8.7
-
Constructor Summary
ConstructorDescriptionInterceptUrlMapConverter
(io.micronaut.core.convert.ConversionService conversionService) -
Method Summary
Modifier and TypeMethodDescriptionconvert
(Map m, Class<InterceptUrlMapPattern> targetType, io.micronaut.core.convert.ConversionContext context) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.core.convert.TypeConverter
convert
-
Constructor Details
-
InterceptUrlMapConverter
public InterceptUrlMapConverter(io.micronaut.core.convert.ConversionService conversionService) - Parameters:
conversionService
- The conversion service
-
-
Method Details
-
convert
public Optional<InterceptUrlMapPattern> convert(Map m, Class<InterceptUrlMapPattern> targetType, io.micronaut.core.convert.ConversionContext context) - Specified by:
convert
in interfaceio.micronaut.core.convert.TypeConverter<Map,
InterceptUrlMapPattern> - Parameters:
m
- a Map in the configurationtargetType
- The target type being converted tocontext
- TheConversionContext
- Returns:
- An optional InterceptUrlMapConverter
-