Package | Description |
---|---|
com.communote.plugins.api.rest.response | |
com.communote.plugins.api.rest.to |
Modifier and Type | Method and Description |
---|---|
static <T> javax.ws.rs.core.Response |
ResponseHelper.buildResponse(T result,
String message,
javax.ws.rs.core.Request request,
ApiResult.ResultStatus status)
Get the success response from resource
|
static <T> javax.ws.rs.core.Response |
ResponseHelper.buildResponse(T result,
String message,
javax.ws.rs.core.Request request,
ApiResult.ResultStatus status,
javax.ws.rs.core.Response.Status responseStatus)
Get the success response from resource
|
Modifier and Type | Method and Description |
---|---|
static ApiResult.ResultStatus |
ApiResult.ResultStatus.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApiResult.ResultStatus[] |
ApiResult.ResultStatus.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2019 Communote team. All rights reserved.