接口 cn.dreampie.route.interceptor.Interceptor
的使用

使用 Interceptor 的软件包
cn.dreampie.route.config   
cn.dreampie.route.core   
cn.dreampie.route.interceptor   
cn.dreampie.route.interceptor.security   
cn.dreampie.route.interceptor.transaction   
 

cn.dreampie.route.configInterceptor 的使用
 

返回 Interceptorcn.dreampie.route.config 中的方法
 Interceptor[] InterceptorLoader.getInterceptorArray()
           
 

参数类型为 Interceptorcn.dreampie.route.config 中的方法
 InterceptorLoader InterceptorLoader.add(Interceptor interceptor)
           
 

cn.dreampie.route.coreInterceptor 的使用
 

返回 Interceptorcn.dreampie.route.core 中的方法
 Interceptor[] Route.getInterceptors()
           
 

参数类型为 Interceptorcn.dreampie.route.core 中的构造方法
Route(Class<? extends Resource> resourceClass, ParamAttribute paramAttribute, String httpMethod, String pathPattern, Method method, Interceptor[] interceptors, String des, Validator[] validators, MultipartBuilder multipartBuilder)
           
 

cn.dreampie.route.interceptorInterceptor 的使用
 

返回 Interceptorcn.dreampie.route.interceptor 中的方法
 Interceptor[] InterceptorBuilder.buildMethodInterceptors(Method method)
          Build interceptors of Method
 Interceptor[] InterceptorBuilder.buildResourceInterceptors(Class<? extends Resource> resourceClass)
          Build interceptors of Resource
 Interceptor[] InterceptorBuilder.buildRouteInterceptors(Interceptor[] defaultInters, Interceptor[] resourceInters, Class<? extends Resource> resourceClass, Interceptor[] methodInters, Method method)
          Build interceptors of Action
 

参数类型为 Interceptorcn.dreampie.route.interceptor 中的方法
 void InterceptorBuilder.addToInterceptorsMap(Interceptor[] defaultInters)
           
 Interceptor[] InterceptorBuilder.buildRouteInterceptors(Interceptor[] defaultInters, Interceptor[] resourceInters, Class<? extends Resource> resourceClass, Interceptor[] methodInters, Method method)
          Build interceptors of Action
 Interceptor[] InterceptorBuilder.buildRouteInterceptors(Interceptor[] defaultInters, Interceptor[] resourceInters, Class<? extends Resource> resourceClass, Interceptor[] methodInters, Method method)
          Build interceptors of Action
 Interceptor[] InterceptorBuilder.buildRouteInterceptors(Interceptor[] defaultInters, Interceptor[] resourceInters, Class<? extends Resource> resourceClass, Interceptor[] methodInters, Method method)
          Build interceptors of Action
 

cn.dreampie.route.interceptor.securityInterceptor 的使用
 

实现 Interceptorcn.dreampie.route.interceptor.security 中的类
 class SecurityInterceptor
          Created by wangrenhui on 15/1/2.
 

cn.dreampie.route.interceptor.transactionInterceptor 的使用
 

实现 Interceptorcn.dreampie.route.interceptor.transaction 中的类
 class TransactionInterceptor
          Created by wangrenhui on 15/1/2.
 



Copyright © 2015. All rights reserved.