|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bemoko.live.platform.mwc.intent.IntentParameters
public class IntentParameters
| Field Summary | |
|---|---|
static String |
INTENT_PARAMETER_UI_OVERRIDE
Deprecated. |
| Constructor Summary | |
|---|---|
IntentParameters(InteractionUri interactionUri)
|
|
IntentParameters(InteractionUri interactionUri,
boolean initialise)
Create an intent parameters object |
|
| Method Summary | |
|---|---|
void |
flush()
Flush any cached objects - e.g. |
String |
get(String name)
|
InteractionUri |
getInteractionUri()
|
Map<String,IntentParameter> |
getMap()
|
Map<String,IntentParameter> |
getMap(int bitMaskSource)
Get the map of parameters from a given bit mask source return null if no parameters are set for the given bit mask |
Map<String,String> |
getMapOfStrings()
|
IntentParameter |
getParameter(String name)
|
String |
getParameterString()
|
String |
getPlatformEndPoint()
|
URI |
getReferer()
|
String |
getRequestedUri()
|
String |
getServerRelativeSiteEndPoint()
Deprecated. since 1.4.3 - please use InteractionUri.getServerRelativeSiteEndPoint() |
String |
getSiteRelativeContextEndPoint()
Deprecated. |
String |
getSourceParametersAsQueryString(int queryStringParameterBitMask)
Return the parameters from the given sources as a query string. |
String |
getSourceParametersAsRestPath(int pathParameterBitMask)
Return the parameters from the given sources as a REST path string. |
Upload |
getUpload(String uploadName)
|
Collection<Upload> |
getUploads()
|
Map<String,Upload> |
getUploadsAsMap()
|
boolean |
hasParameters(int bitMaskSource)
Check whether parameters are set for teh defined bit mask source |
boolean |
hasUploads()
|
protected void |
initialise()
Extract the parameter map from the parameter string |
boolean |
isClickThrough()
|
IntentParameters |
put(String name,
IntentParameter parameter)
Put parameter with support for chaining |
IntentParameters |
put(String name,
String value,
int source)
Put a parameter with a specified source |
void |
putAll(Map<String,String[]> map,
int source)
|
protected void |
putUpload(String name,
Upload upload)
|
void |
remove(String name)
|
void |
setIsClickThrough(boolean isClickThrough)
|
void |
setPlatformEndPoint(String platformEndPoint)
|
void |
setReferer(URI referer)
|
void |
setRequestedUri(String requestedUri)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
@Deprecated public static final String INTENT_PARAMETER_UI_OVERRIDE
| Constructor Detail |
|---|
public IntentParameters(InteractionUri interactionUri)
public IntentParameters(InteractionUri interactionUri,
boolean initialise)
| Method Detail |
|---|
public InteractionUri getInteractionUri()
public void flush()
public String get(String name)
get in interface com.bemoko.live.platform.context.LiveContextParameterspublic Map<String,IntentParameter> getMap()
public Map<String,IntentParameter> getMap(int bitMaskSource)
public Map<String,String> getMapOfStrings()
public IntentParameter getParameter(String name)
public String getParameterString()
public String getPlatformEndPoint()
LiveIntent.getPlatformEndPoint()public URI getReferer()
public String getRequestedUri()
@Deprecated public String getServerRelativeSiteEndPoint()
LiveIntent.getServerRelativeSiteEndPoint()@Deprecated public String getSiteRelativeContextEndPoint()
public String getSourceParametersAsQueryString(int queryStringParameterBitMask)
queryStringParameterBitMask -
public String getSourceParametersAsRestPath(int pathParameterBitMask)
pathParameterBitMask -
public boolean hasParameters(int bitMaskSource)
bitMaskSource -
protected void initialise()
public boolean isClickThrough()
public IntentParameters put(String name,
IntentParameter parameter)
name -
public IntentParameters put(String name,
String value,
int source)
name - value - source -
public void putAll(Map<String,String[]> map,
int source)
public void remove(String name)
public void setIsClickThrough(boolean isClickThrough)
public void setPlatformEndPoint(String platformEndPoint)
public void setReferer(URI referer)
public void setRequestedUri(String requestedUri)
public String toString()
toString in class Object
protected void putUpload(String name,
Upload upload)
public boolean hasUploads()
public Upload getUpload(String uploadName)
public Map<String,Upload> getUploadsAsMap()
public Collection<Upload> getUploads()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||