| 程序包 | 说明 |
|---|---|
| org.apache.shardingsphere.shardingscaling.utils |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> ResponseContent<T> |
ResponseContentUtil.build(T model)
Build the successful response with data model.
|
static ResponseContent |
ResponseContentUtil.handleBadRequest(String errorMsg)
Build the bad request response.
|
static ResponseContent |
ResponseContentUtil.handleException(String errorMsg)
Build the error response of exception.
|
static ResponseContent |
ResponseContentUtil.success()
Build the successful response without data model.
|
Copyright © 2020 The Apache Software Foundation. All rights reserved.