|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 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.config 中 Interceptor 的使用 |
|---|
| 返回 Interceptor 的 cn.dreampie.route.config 中的方法 | |
|---|---|
Interceptor[] |
InterceptorLoader.getInterceptorArray()
|
| 参数类型为 Interceptor 的 cn.dreampie.route.config 中的方法 | |
|---|---|
InterceptorLoader |
InterceptorLoader.add(Interceptor interceptor)
|
| cn.dreampie.route.core 中 Interceptor 的使用 |
|---|
| 返回 Interceptor 的 cn.dreampie.route.core 中的方法 | |
|---|---|
Interceptor[] |
Route.getInterceptors()
|
| 参数类型为 Interceptor 的 cn.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.interceptor 中 Interceptor 的使用 |
|---|
| 返回 Interceptor 的 cn.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 |
| 参数类型为 Interceptor 的 cn.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.security 中 Interceptor 的使用 |
|---|
| 实现 Interceptor 的 cn.dreampie.route.interceptor.security 中的类 | |
|---|---|
class |
SecurityInterceptor
Created by wangrenhui on 15/1/2. |
| cn.dreampie.route.interceptor.transaction 中 Interceptor 的使用 |
|---|
| 实现 Interceptor 的 cn.dreampie.route.interceptor.transaction 中的类 | |
|---|---|
class |
TransactionInterceptor
Created by wangrenhui on 15/1/2. |
|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||