public static class ExecutionContext.ApplicationData
extends java.lang.Object
ExecutionContext.
The application data format is key-value pairs of
Strings.
This application data is provided by the client initiating the execution, it is then transported as is over the wire and is available for the provider-side service implementations on the server. This extra data is completely opaque for the infrastructure, in other words it is a contract between the client and the service implementation only.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
USER_AGENT_KEY
ApplicationData property key for user agent. |
| Constructor and Description |
|---|
ExecutionContext.ApplicationData()
Default constructor.
|
ExecutionContext.ApplicationData(java.util.Map<java.lang.String,java.lang.String> data)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.String> |
getAllProperties() |
java.lang.String |
getProperty(java.lang.String key) |
public static final java.lang.String USER_AGENT_KEY
ApplicationData property key for user agent.public ExecutionContext.ApplicationData()
public ExecutionContext.ApplicationData(java.util.Map<java.lang.String,java.lang.String> data)
data - key-value entriesjava.lang.NullPointerException - if data is
nullpublic java.lang.String getProperty(java.lang.String key)
key - of the propertykey or
null if it is unavailablepublic java.util.Map<java.lang.String,java.lang.String> getAllProperties()
Map representing all the properties,
and the result map is unmodifiable