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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Class<jakarta.servlet.annotation.WebServlet>
     
    List<io.micronaut.core.annotation.AnnotationValue<?>>
    map(io.micronaut.core.annotation.AnnotationValue<jakarta.servlet.annotation.WebServlet> annotation, io.micronaut.inject.visitor.VisitorContext visitorContext)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • WebServletMapper

      public WebServletMapper()
  • Method Details

    • annotationType

      public Class<jakarta.servlet.annotation.WebServlet> annotationType()
      Specified by:
      annotationType in interface io.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 interface io.micronaut.inject.annotation.AnnotationMapper<jakarta.servlet.annotation.WebServlet>