Class WebServletAnnotationHandler

java.lang.Object
org.eclipse.jetty.annotations.AnnotationParser.AbstractHandler
org.eclipse.jetty.ee11.annotations.AbstractDiscoverableAnnotationHandler
org.eclipse.jetty.ee11.annotations.WebServletAnnotationHandler
All Implemented Interfaces:
org.eclipse.jetty.annotations.AnnotationParser.Handler

public class WebServletAnnotationHandler extends AbstractDiscoverableAnnotationHandler
Process a WebServlet annotation on a class.
  • Constructor Details

    • WebServletAnnotationHandler

      public WebServletAnnotationHandler(org.eclipse.jetty.ee11.webapp.WebAppContext context)
  • Method Details

    • handle

      public void handle(org.eclipse.jetty.annotations.AnnotationParser.ClassInfo info, String annotationName)
      Handle discovering a WebServlet annotation.
      Specified by:
      handle in interface org.eclipse.jetty.annotations.AnnotationParser.Handler
      Overrides:
      handle in class org.eclipse.jetty.annotations.AnnotationParser.AbstractHandler
    • handle

      public void handle(org.eclipse.jetty.annotations.AnnotationParser.FieldInfo info, String annotationName)
      Specified by:
      handle in interface org.eclipse.jetty.annotations.AnnotationParser.Handler
      Overrides:
      handle in class org.eclipse.jetty.annotations.AnnotationParser.AbstractHandler
    • handle

      public void handle(org.eclipse.jetty.annotations.AnnotationParser.MethodInfo info, String annotationName)
      Specified by:
      handle in interface org.eclipse.jetty.annotations.AnnotationParser.Handler
      Overrides:
      handle in class org.eclipse.jetty.annotations.AnnotationParser.AbstractHandler