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