Package org.eweb4j.mvc.interceptor

Examples of org.eweb4j.mvc.interceptor.Before


   * @throws Exception
   */
  private void excuteMethod(String methodName) throws Exception{

    /* 对于外部配置的前置拦截器,方法体内的前置拦截器较后执行  */
    Before before = method.getAnnotation(Before.class);
    if (before != null){
      InterExecution before_interExe = new InterExecution("before", context);
      before_interExe.execute(before.value());
      if (before_interExe.getError() != null){
        before_interExe.showErr();
        return ;
      }
    }
View Full Code Here

TOP

Related Classes of org.eweb4j.mvc.interceptor.Before

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.