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