public class AnnotationRouteResolver extends Object implements RouteResolver
| 构造器和说明 |
|---|
AnnotationRouteResolver() |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T extends Annotation> |
getAnnotation(Class<?> c,
Class<T> annotation) |
static <T extends Annotation> |
getAnnotation(Method m,
Class<T> annotation) |
static MethodHandle |
getMethodHandle(Method m,
Class<?>... paramTypes) |
static boolean |
isCompatible(Method m,
Class<? extends Annotation> annotation,
Class<?>... paramTypes) |
void |
process(io.vertx.ext.web.Router router,
Object instance,
Class<?> clazz,
Method method) |
public void process(io.vertx.ext.web.Router router,
Object instance,
Class<?> clazz,
Method method)
process 在接口中 RouteResolverpublic static MethodHandle getMethodHandle(Method m, Class<?>... paramTypes)
public static boolean isCompatible(Method m, Class<? extends Annotation> annotation, Class<?>... paramTypes)
public static <T extends Annotation> T getAnnotation(Method m, Class<T> annotation)
public static <T extends Annotation> T getAnnotation(Class<?> c, Class<T> annotation)
Copyright © 2016~2017–2017 dinstone. All rights reserved.