public interface BeforeUpdateResponse
| Modifier and Type | Method and Description |
|---|---|
static PreExtensionResponseWithBody |
setError(ErrorResponse errorResponse)
Populates error in a BeforeUpdateResponse object and returns the same.
|
static PreExtensionResponseBuilderWithBody |
setSuccess()
Returns a response builder to create a response when the BeforeUpdate handler executes successfully.
|
static PreExtensionResponseWithBody setError(ErrorResponse errorResponse)
errorResponse - An ErrorResponse object containing the error message and status codeBeforeUpdateResponse object containing the errorstatic PreExtensionResponseBuilderWithBody setSuccess()
Copyright © 2020 SAP. All Rights Reserved.