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