| 程序包 | 说明 |
|---|---|
| com.alipay.sofa.registry.store.api |
| 限定符和类型 | 方法和说明 |
|---|---|
DBResponse.DBResponseBuilder |
DBResponse.DBResponseBuilder.entity(T entity)
set entity
|
static DBResponse.DBResponseBuilder |
DBResponse.DBResponseBuilder.getInstance()
get DBResponseBuilder instance
|
static DBResponse.DBResponseBuilder |
DBResponse.notfound()
set operationStatus to NOTFOUND
|
static DBResponse.DBResponseBuilder |
DBResponse.ok()
generate response ok
|
static <T> DBResponse.DBResponseBuilder |
DBResponse.ok(T entity)
generate response ok
|
protected static DBResponse.DBResponseBuilder |
DBResponse.setStatus(OperationStatus status)
set operationStatus
|
DBResponse.DBResponseBuilder |
DBResponse.DBResponseBuilder.status(OperationStatus status)
set operationStatus status
|
Copyright © 2023 The Ant Financial. All rights reserved.