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 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 interface io.micronaut.core.convert.TypeConverter<Map,InterceptUrlMapPattern>
      Parameters:
      m - a Map in the configuration
      targetType - The target type being converted to
      context - The ConversionContext
      Returns:
      An optional InterceptUrlMapConverter