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,
Reason... errors)
Get the success response from resource
|
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,
Reason... errors)
Get the success response from resource
|
Modifier and Type | Method and Description |
---|---|
Reason[] |
MessageValidationException.getReasons() |
Constructor and Description |
---|
MessageValidationException(String exceptionMessage,
LocalizedMessage validationMessage,
Reason... reasons) |
MessageValidationException(String exceptionMessage,
LocalizedMessage validationMessage,
Throwable cause,
Reason... reasons) |
Modifier and Type | Method and Description |
---|---|
Reason[] |
Status.getErrors() |
Constructor and Description |
---|
Status(LocalizedMessage message,
String errorCode,
Reason... errors)
Constructor.
|
Status(String messageKey,
Object[] arguments,
String errorCode,
Reason... errors)
Constructor.
|
Status(String messageKey,
String errorCode,
Reason... errors)
Constructor.
|
Copyright © 2019 Communote team. All rights reserved.