Class WebServletMapper
java.lang.Object
io.micronaut.servlet.annotation.processor.WebServletMapper
- All Implemented Interfaces:
io.micronaut.inject.annotation.AnnotationMapper<jakarta.servlet.annotation.WebServlet>
,io.micronaut.inject.annotation.TypedAnnotationMapper<jakarta.servlet.annotation.WebServlet>
public class WebServletMapper
extends Object
implements io.micronaut.inject.annotation.TypedAnnotationMapper<jakarta.servlet.annotation.WebServlet>
Allows registering web servlets as beans.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
WebServletMapper
public WebServletMapper()
-
-
Method Details
-
annotationType
- Specified by:
annotationType
in interfaceio.micronaut.inject.annotation.TypedAnnotationMapper<jakarta.servlet.annotation.WebServlet>
-
map
public List<io.micronaut.core.annotation.AnnotationValue<?>> map(io.micronaut.core.annotation.AnnotationValue<jakarta.servlet.annotation.WebServlet> annotation, io.micronaut.inject.visitor.VisitorContext visitorContext) - Specified by:
map
in interfaceio.micronaut.inject.annotation.AnnotationMapper<jakarta.servlet.annotation.WebServlet>
-