public interface ResponseCustomData extends DocumentWorkerObject
| Modifier and Type | Method and Description |
|---|---|
String |
get(String dataKey)
Used to retrieve any custom data that has been set on the response.
|
Response |
getResponse()
Returns the response customization object that this custom data object is associated with.
|
String |
put(String dataKey,
String dataValue)
Used to set custom data to be sent with the response.
|
void |
putAll(Map<String,String> m)
Used to set custom data to be sent with the response.
|
String |
remove(String dataKey)
Removes a custom data value that has been set on the response.
|
getApplication@Nonnull Response getResponse()
String get(String dataKey)
dataKey - the key of the data to be retrieved (note that the key lookup is case-sensitive)String put(String dataKey, String dataValue)
dataKey - the key of the data to be sent with the response (note that the key is case-sensitive)dataValue - the value to be associated with the specified keynull if there was no value previously associated with the keyvoid putAll(Map<String,String> m)
put(String, String) for each mapping in
the specified map.m - the mappings to be added to the custom data of the responseString remove(String dataKey)
dataKey - the key of the data to be removed from the response (note that the key is case-sensitive)null if there was no value previously associated with the keyCopyright © 2016–2022 EntIT Software LLC, a Micro Focus company. All rights reserved.