public class UpdateResponseBuilderImpl extends Object implements UpdateResponseBuilder
| Constructor and Description |
|---|
UpdateResponseBuilderImpl() |
| 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.
|
public UpdateResponseBuilder addHeaders(Map<String,List<String>> headers)
UpdateResponseBuilderaddHeaders in interface UpdateResponseBuilderheaders - A java.util.Map> containing the headers to be addedUpdateResponseBuilder object containing the added headerspublic UpdateResponseBuilder setHeader(String name, String value)
UpdateResponseBuildersetHeader in interface UpdateResponseBuildername - A String containing the name of the headervalue - A String containing the header valueUpdateResponseBuilder object containing the newly added or updated headerpublic UpdateResponseBuilder addHeader(String name, String value)
UpdateResponseBuilderaddHeader in interface UpdateResponseBuildername - A String containing the name of the headervalue - A String containing the additional header valueUpdateResponseBuilder object containing the additional headerpublic UpdateResponse response()
UpdateResponseBuilderresponse in interface UpdateResponseBuilderUpdateResponse object@Deprecated public UpdateResponseBuilder audit(boolean enable)
UpdateResponseBuilderaudit in interface UpdateResponseBuilderenable - A boolean to enable or disable auditingUpdateResponseBuilder object containing the updated auditing attributeCopyright © 2020 SAP. All Rights Reserved.