public abstract class UpdateResponse extends Response
| Constructor and Description |
|---|
UpdateResponse() |
| Modifier and Type | Method and Description |
|---|---|
static UpdateResponse |
setError(ErrorResponse errorResponse)
Populates error in the response in the event of a failed update operation,
and returns the same.
|
static UpdateResponseBuilder |
setSuccess()
Returns a response builder using which the response header and the content can be populated
in the event of a successful update operation.
|
public static UpdateResponseBuilder setSuccess()
UpdateResponseBuilder objectpublic static UpdateResponse setError(ErrorResponse errorResponse)
errorResponse - An ErrorResponse object containing the error message and status codeUpdateResponse object containing the errorCopyright © 2020 SAP. All Rights Reserved.