| 接口 | 说明 |
|---|---|
| BiConsumerEx<T1,T2> |
双参数消费者
|
| ConsumerEx<T> |
消费者
|
| RunnableEx |
可运行
|
| SupplierEx<T> |
供应者
|
| 类 | 说明 |
|---|---|
| LinkedCaseInsensitiveMap<V> |
忽略大小写的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;
}
} |
Copyright © 2021. All rights reserved.