Class RestControllerAnnotationMapper

All Implemented Interfaces:
io.micronaut.core.naming.Named, io.micronaut.inject.annotation.AnnotationMapper<Annotation>, io.micronaut.inject.annotation.NamedAnnotationMapper

public class RestControllerAnnotationMapper extends ComponentAnnotationMapper
Maps Spring RestController to Micronaut.
Since:
1.0
Author:
graemerocher
  • Constructor Details

    • RestControllerAnnotationMapper

      public RestControllerAnnotationMapper()
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface io.micronaut.core.naming.Named
      Overrides:
      getName in class ComponentAnnotationMapper
    • mapInternal

      protected List<io.micronaut.core.annotation.AnnotationValue<?>> mapInternal(io.micronaut.core.annotation.AnnotationValue<Annotation> annotation, io.micronaut.inject.visitor.VisitorContext visitorContext)
      Description copied from class: AbstractSpringAnnotationMapper
      Internal map implemenation that subclasses should implement.
      Overrides:
      mapInternal in class ComponentAnnotationMapper
      Parameters:
      annotation - The annotation
      visitorContext - The visitor context
      Returns:
      A list of annotations