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