Package org.eweb4j.mvc.action.annotation

Examples of org.eweb4j.mvc.action.annotation.Result


          .parsePropValue(producesAnn.value()[0]);
      action.getProduces().add(producesStr);
    }

    // 读取@Result注解
    Result resultAnn = m.getAnnotation(Result.class);
    if (resultAnn != null)
      action.setResult(ResultAnnUtil.readResultAnn(resultAnn));

    if (rcb != null)
      action.getResult().add(rcb);
View Full Code Here


    String uriMapping = parseUriMapping(controller, moduleName, action.getUriMapping());
    if (uriMapping != null)
      action.setUriMapping(uriMapping);

    // 解析@Result注解
    Result resultAnn = method.getAnnotation(Result.class);
    if (resultAnn != null)
      action.getResult().addAll(ResultAnnUtil.readResultAnn(resultAnn));

    /* 解析@ActionLevel */
    int level = parseActionLevel(controller, method);
View Full Code Here

TOP

Related Classes of org.eweb4j.mvc.action.annotation.Result

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.