Package net.paoding.rose.web.annotation

Examples of net.paoding.rose.web.annotation.Path


            }
        }
        final Class<?> clazz = beanDefinition.getBeanClass();
        final String controllerName = StringUtils.removeEnd(ClassUtils
                .getShortNameAsProperty(clazz), controllerSuffix);
        Path reqMappingAnnotation = clazz.getAnnotation(Path.class);
        if (reqMappingAnnotation != null) {
            controllerPaths = reqMappingAnnotation.value();
        }
        if (controllerPaths != null) {
            // 如果controllerPaths.length==0,表示没有任何path可以映射到这个controller了
            for (int i = 0; i < controllerPaths.length; i++) {
                if ("#".equals(controllerPaths[i])) {
View Full Code Here

TOP

Related Classes of net.paoding.rose.web.annotation.Path

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.