| 程序包 | 说明 |
|---|---|
| org.noear.solon | |
| org.noear.solon.core | |
| org.noear.solon.core.util |
| 类和说明 |
|---|
| ConsumerEx
消费者
|
| 类和说明 |
|---|
| BiConsumerEx
双参数消费者
|
| LinkedCaseInsensitiveMap
忽略大小写的LinkedMap
|
| 类和说明 |
|---|
| DataThrowable
可抛出的数据,用于数据传导(以实现两种方案:return data; throw data)
在Solon的mvc处理链中,DataThrowable 会做为普通的数据处理渲染
//定义个 DataThrowable 的数据结构
public class UapiCode extends DataThrowable{
public final int code;
public final String message;
public UapiCode(int code, String message){
super(message);
this.code = code;
this.message = message;
}
} |
| DateAnalyzer |
| LinkedCaseInsensitiveMap
忽略大小写的LinkedMap
|
| LogUtil
日志打印小工具(仅限内部使用)
|
| NamedThreadFactory
可命名线程工厂
|
| PathAnalyzer
路径分析器,用于路由器和路径变量分析
|
Copyright © 2022. All rights reserved.