| 程序包 | 说明 |
|---|---|
| com.labbol.api.support.request | |
| com.labbol.api.support.utils |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
APIRequest.check()
验证请求
|
void |
AbstractQueryAPIRequest.check() |
void |
AbstractAPIRequest.check() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
RequestCheckUtils.checkBeanFieldNotEmpty(Object bean,
String fieldName)
检测对象中的字段是否为非空白
|
static void |
RequestCheckUtils.checkBeanFieldNotEmpty(Object bean,
String[] fieldNames)
检测对象中的所有字段是否为非空白
|
static void |
RequestCheckUtils.checkNotEmpty(Object value,
String fieldName)
检查值不能为空
|
Copyright © 2020. All rights reserved.