public interface UpdateResponseBuilder extends ResponseBuilder
| Modifier and Type | Method and Description |
|---|---|
UpdateResponseBuilder |
addHeader(String name,
String value)
Adds a header with the specified name and value in the UpdateResponseBuilder object.
|
UpdateResponseBuilder |
addHeaders(Map<String,List<String>> headers)
Adds headers in the UpdateResponseBuilder object.
|
UpdateResponseBuilder |
audit(boolean enable)
Deprecated.
|
UpdateResponse |
response()
Returns an instance of UpdateResponse object.
|
UpdateResponseBuilder |
setHeader(String name,
String value)
Sets a header with the specified name and value in the UpdateResponseBuilder object.
|
UpdateResponseBuilder addHeaders(Map<String,List<String>> headers)
headers - A java.util.Map> containing the headers to be addedUpdateResponseBuilder object containing the added headersUpdateResponseBuilder setHeader(String name, String value)
name - A String containing the name of the headervalue - A String containing the header valueUpdateResponseBuilder object containing the newly added or updated headerUpdateResponseBuilder addHeader(String name, String value)
name - A String containing the name of the headervalue - A String containing the additional header valueUpdateResponseBuilder object containing the additional header@Deprecated UpdateResponseBuilder audit(boolean enable)
enable - A boolean to enable or disable auditingUpdateResponseBuilder object containing the updated auditing attributeUpdateResponse response()
UpdateResponse objectCopyright © 2020 SAP. All Rights Reserved.