Class RestControllerAnnotationMapper
java.lang.Object
io.micronaut.spring.annotation.AbstractSpringAnnotationMapper
io.micronaut.spring.annotation.context.ComponentAnnotationMapper
io.micronaut.spring.web.annotation.RestControllerAnnotationMapper
- All Implemented Interfaces:
io.micronaut.core.naming.Named
,io.micronaut.inject.annotation.AnnotationMapper<Annotation>
,io.micronaut.inject.annotation.NamedAnnotationMapper
Maps Spring RestController to Micronaut.
- Since:
- 1.0
- Author:
- graemerocher
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
protected List<io.micronaut.core.annotation.AnnotationValue<?>>
mapInternal
(io.micronaut.core.annotation.AnnotationValue<Annotation> annotation, io.micronaut.inject.visitor.VisitorContext visitorContext) Internal map implemenation that subclasses should implement.Methods inherited from class io.micronaut.spring.annotation.AbstractSpringAnnotationMapper
map
-
Constructor Details
-
RestControllerAnnotationMapper
public RestControllerAnnotationMapper()
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceio.micronaut.core.naming.Named
- Overrides:
getName
in classComponentAnnotationMapper
-
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 classComponentAnnotationMapper
- Parameters:
annotation
- The annotationvisitorContext
- The visitor context- Returns:
- A list of annotations
-