| Package | Description |
|---|---|
| org.noear.solon | |
| org.noear.solon.core | |
| org.noear.solon.core.handle | |
| org.noear.solon.core.route | |
| org.noear.solon.core.util | |
| org.noear.solon.core.wrap |
| Modifier and Type | Method and Description |
|---|---|
static String |
Utils.appFolder()
应用所在文件夹
|
| Modifier and Type | Method and Description |
|---|---|
BeanWrap |
AppContext.beanMake(Class<?> clz)
::制造 bean 及对应处理
|
ParameterizedType |
VarHolder.getGenericType()
获取泛型(可能为 null)
|
Plugin |
PluginEntity.getPlugin()
获取插件
|
| Modifier and Type | Method and Description |
|---|---|
Object |
ChainManager.postResult(Context x,
Object result)
提交结果(action / render 执行前调用)
|
| Modifier and Type | Field and Description |
|---|---|
Throwable |
Context.errors
用于在处理链中透传处理错误
|
Object |
Context.result
用于在处理链中透传处理结果
|
| Modifier and Type | Method and Description |
|---|---|
Action |
Context.action()
获取当前动作
|
<T> T |
Context.attr(String name)
获取上下文特性
|
Object |
Context.controller()
获取当前控制器
|
String |
Context.cookie(String name)
获取 cookie
|
String[] |
Context.cookieValues(String name)
获取 cookie (多值)
|
UploadedFile |
Context.file(String name)
获取上传文件
|
UploadedFile[] |
Context.fileValues(String name)
获取上传文件数组
|
String |
Context.header(String name)
获取 header
|
String[] |
Context.headerValues(String name)
获取 header (多值)
|
Handler |
Context.mainHandler()
获取当前主处理器
|
Mapping |
Action.mapping()
映射
|
String |
Context.param(String name)
获取参数
|
String[] |
Context.paramValues(String name)
获取参数数组
|
| Modifier and Type | Method and Description |
|---|---|
void |
RouterInterceptorChainImpl.doIntercept(Context ctx,
Handler mainHandler) |
void |
RouterInterceptorChain.doIntercept(Context ctx,
Handler mainHandler)
拦截
|
void |
RouterInterceptor.doIntercept(Context ctx,
Handler mainHandler,
RouterInterceptorChain chain)
执行拦截
|
default Object |
RouterInterceptor.postResult(Context ctx,
Object result)
提交结果(action / render 执行前调用)
|
| Modifier and Type | Method and Description |
|---|---|
T |
MultiMap.get(String key)
获取值
|
List<T> |
MultiMap.getAll(String key)
获取多值
|
T |
MultiMap.getOrDefault(String key,
T def)
获取值或默认
|
| Modifier and Type | Method and Description |
|---|---|
ParameterizedType |
MethodHolder.getGenericReturnType()
获取函数泛型反回类型
|
ParameterizedType |
MethodWrap.getGenericReturnType()
获取函数泛型类型
|
ParameterizedType |
TypeWrap.getGenericType()
获取泛型
|
ParameterizedType |
ParamWrapSpec.getGenericType() |
ParameterizedType |
VarHolderOfParam.getGenericType()
泛型(可能为 null)
|
ParameterizedType |
VarHolderOfField.getGenericType()
泛型(可能为null)
|
ParameterizedType |
FieldWrapSpec.getGenericType() |
ParameterizedType |
FieldWrap.getGenericType()
获取参数类型
|
ParameterizedType |
VarSpec.getGenericType()
获取泛型
|
ParameterizedType |
ParamWrap.getGenericType()
获取泛型
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
MethodKey.equals(Object o) |
| Constructor and Description |
|---|
MethodKey(Method method,
Class<?> targetClass) |
Copyright © 2025. All rights reserved.