public class ActionContext
extends java.lang.Object
Constructor and Description |
---|
ActionContext()
Constructs object without feed identification
|
ActionContext(java.lang.String feedId)
Constructs object with feed identification
|
Modifier and Type | Method and Description |
---|---|
ActionContext |
addCustomParameter(java.lang.String name,
java.lang.String value)
Adds any custom parameter that you want to be sent with request
|
ActionContext |
addCustomParameters(java.util.Map<java.lang.String,java.lang.String> parameters)
Method adds any custom parameters that you want to be sent with request
|
ActionContext |
addLabel(java.lang.String label)
Add custom label.
|
ActionContext |
addLabels(java.util.List<java.lang.String> labels)
Add custom labels.
|
java.util.Map<java.lang.String,java.lang.String> |
getCustomParameters()
Gets list of any custom parameters that you want to be sent with request
|
java.lang.String |
getFeedId()
Gets feed identification.
|
java.util.List<java.lang.String> |
getLabels()
Gets list of any custom labels that will be sent with request
|
public ActionContext()
public ActionContext(java.lang.String feedId)
feedId
- is string identification of client feedpublic ActionContext addLabel(java.lang.String label)
label
- labelpublic ActionContext addLabels(java.util.List<java.lang.String> labels)
labels
- list of labelspublic ActionContext addCustomParameter(java.lang.String name, java.lang.String value)
name
- parameter namevalue
- parameter valuepublic ActionContext addCustomParameters(java.util.Map<java.lang.String,java.lang.String> parameters)
parameters
- list of parameterspublic java.util.List<java.lang.String> getLabels()
public java.lang.String getFeedId()
public java.util.Map<java.lang.String,java.lang.String> getCustomParameters()