| 程序包 | 说明 |
|---|---|
| org.noear.solon.core | |
| org.noear.solon.core.handle | |
| org.noear.solon.core.route | |
| org.noear.solon.core.wrap |
| 限定符和类型 | 方法和说明 |
|---|---|
ParameterizedType |
VarHolder.getGenericType()
获取泛型(可能为 null)
|
Plugin |
PluginEntity.getPlugin()
获取插件
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ChainManager.doIntercept(Context x,
Handler mainHandler)
执行路由拦截
|
Object |
ChainManager.postResult(Context x,
Object result)
提交结果(action / render 执行前调用)
|
| 限定符和类型 | 字段和说明 |
|---|---|
Throwable |
Context.errors
用于在处理链中透传处理错误
|
Object |
Context.result
用于在处理链中透传处理结果
|
| 限定符和类型 | 方法和说明 |
|---|---|
Action |
Context.action()
获取当前动作
|
Object |
Context.controller()
获取当前控制器
|
Handler |
Context.mainHandler()
获取当前主处理器
|
Mapping |
Action.mapping()
映射
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
RouterInterceptorChainImpl.doIntercept(Context ctx,
Handler mainHandler) |
void |
RouterInterceptorChain.doIntercept(Context ctx,
Handler mainHandler)
拦截
|
void |
RouterInterceptor.doIntercept(Context ctx,
Handler mainHandler,
RouterInterceptorChain chain)
执行拦截
|
void |
RouterHandler.doIntercept(Context ctx,
Handler mainHandler,
RouterInterceptorChain chain) |
default Object |
RouterInterceptor.postResult(Context ctx,
Object result)
提交结果(action / render 执行前调用)
|
| 限定符和类型 | 字段和说明 |
|---|---|
ParameterizedType |
FieldWrap.genericType
字段泛型类型(可能为null)
|
| 限定符和类型 | 方法和说明 |
|---|---|
ParamWrap |
MethodWrap.getBodyParamWrap()
获取函数Body参数
|
ParameterizedType |
VarHolderOfParam.getGenericType()
泛型(可能为 null)
|
ParameterizedType |
VarHolderOfField.getGenericType()
泛型(可能为null)
|
Type |
VarDescriptor.getGenericType()
获取泛型
|
Copyright © 2024. All rights reserved.