Package org.eclipse.jetty.annotations
Class WebServletAnnotationHandler
- java.lang.Object
-
- org.eclipse.jetty.annotations.AnnotationParser.AbstractHandler
-
- org.eclipse.jetty.annotations.AbstractDiscoverableAnnotationHandler
-
- org.eclipse.jetty.annotations.WebServletAnnotationHandler
-
- All Implemented Interfaces:
AnnotationParser.Handler
public class WebServletAnnotationHandler extends AbstractDiscoverableAnnotationHandler
WebServletAnnotationHandler Process a WebServlet annotation on a class.
-
-
Field Summary
-
Fields inherited from class org.eclipse.jetty.annotations.AbstractDiscoverableAnnotationHandler
_context
-
-
Constructor Summary
Constructors Constructor Description WebServletAnnotationHandler(WebAppContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handle(AnnotationParser.ClassInfo info, java.lang.String annotationName)
Handle discovering a WebServlet annotation.void
handle(AnnotationParser.FieldInfo info, java.lang.String annotationName)
void
handle(AnnotationParser.MethodInfo info, java.lang.String annotationName)
-
Methods inherited from class org.eclipse.jetty.annotations.AbstractDiscoverableAnnotationHandler
addAnnotation
-
Methods inherited from class org.eclipse.jetty.annotations.AnnotationParser.AbstractHandler
handle, handle, handle
-
-
-
-
Constructor Detail
-
WebServletAnnotationHandler
public WebServletAnnotationHandler(WebAppContext context)
-
-
Method Detail
-
handle
public void handle(AnnotationParser.ClassInfo info, java.lang.String annotationName)
Handle discovering a WebServlet annotation.- Specified by:
handle
in interfaceAnnotationParser.Handler
- Overrides:
handle
in classAnnotationParser.AbstractHandler
-
handle
public void handle(AnnotationParser.FieldInfo info, java.lang.String annotationName)
- Specified by:
handle
in interfaceAnnotationParser.Handler
- Overrides:
handle
in classAnnotationParser.AbstractHandler
-
handle
public void handle(AnnotationParser.MethodInfo info, java.lang.String annotationName)
- Specified by:
handle
in interfaceAnnotationParser.Handler
- Overrides:
handle
in classAnnotationParser.AbstractHandler
-
-