org.eclipse.jetty.annotations
Class WebServletAnnotationHandler
java.lang.Object
org.eclipse.jetty.annotations.WebServletAnnotationHandler
- All Implemented Interfaces:
- AnnotationParser.DiscoverableAnnotationHandler
public class WebServletAnnotationHandler
- extends Object
- implements AnnotationParser.DiscoverableAnnotationHandler
WebServletAnnotationHandler
Process a WebServlet annotation on a class.
Method Summary |
void |
handleClass(String className,
int version,
int access,
String signature,
String superName,
String[] interfaces,
String annotationName,
List<AnnotationParser.Value> values)
Handle discovering a WebServlet annotation. |
void |
handleField(String className,
String fieldName,
int access,
String fieldType,
String signature,
Object value,
String annotation,
List<AnnotationParser.Value> values)
|
void |
handleMethod(String className,
String methodName,
int access,
String params,
String signature,
String[] exceptions,
String annotation,
List<AnnotationParser.Value> values)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_context
protected WebAppContext _context
WebServletAnnotationHandler
public WebServletAnnotationHandler(WebAppContext wac)
handleClass
public void handleClass(String className,
int version,
int access,
String signature,
String superName,
String[] interfaces,
String annotationName,
List<AnnotationParser.Value> values)
- Handle discovering a WebServlet annotation.
- Specified by:
handleClass
in interface AnnotationParser.DiscoverableAnnotationHandler
- See Also:
AnnotationParser.DiscoverableAnnotationHandler.handleClass(java.lang.String, int, int, java.lang.String, java.lang.String, java.lang.String[], java.lang.String, java.util.List)
handleField
public void handleField(String className,
String fieldName,
int access,
String fieldType,
String signature,
Object value,
String annotation,
List<AnnotationParser.Value> values)
- Specified by:
handleField
in interface AnnotationParser.DiscoverableAnnotationHandler
handleMethod
public void handleMethod(String className,
String methodName,
int access,
String params,
String signature,
String[] exceptions,
String annotation,
List<AnnotationParser.Value> values)
- Specified by:
handleMethod
in interface AnnotationParser.DiscoverableAnnotationHandler
Copyright © 1995-2010 Mort Bay Consulting. All Rights Reserved.