| 接口 | 说明 |
|---|---|
| BiConsumerEx<T1,T2> |
双参数消费者
|
| ConsumerEx<T> |
消费者
|
| RunnableEx |
可运行
|
| SupplierEx<T> |
供应者
|
| 类 | 说明 |
|---|---|
| ConvertUtil |
类型转换工具
|
| DateAnalyzer | |
| GenericUtil |
泛型处理工具
|
| IndexBuilder |
构建初始化的index
|
| IpUtil | |
| JavaUtil | |
| LinkedCaseInsensitiveMap<V> |
忽略大小写的LinkedMap
|
| NamedThreadFactory |
可命名线程工厂
|
| ParameterizedTypeImpl | |
| PathAnalyzer |
路径分析器,用于路由器和路径变量分析
|
| PathUtil | |
| PluginUtil | |
| PrintUtil |
彩色打印小工具
|
| RankEntity<T> | |
| ScanUtil |
资源扫描工具(用于扫描插件配置等资源...)
|
| 异常错误 | 说明 |
|---|---|
| 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;
}
} |
Copyright © 2022. All rights reserved.