com.bemoko.live.platform.mwc.intent
Interface IntentParameter


public interface IntentParameter


Field Summary
static int SOURCE_CONFIG
          Parameter came from system configuration
static int SOURCE_CONTEXT_RULE
          Parameter came from a context rule parameter
static int SOURCE_HEADER
          Parameter came from the header, e.g.
static int SOURCE_MAX
           
static int SOURCE_PATH
          Parameter came from the path, e.g.
static int SOURCE_POST
          Parameter came from posted parameters, e.g.
static int SOURCE_QUERY
          Parameter came from the query, e.g.
static int SOURCE_ROUTE_DEFAULT
          Parameter came from a route default
static int SOURCE_RULE
          Parameter came from context rule
static int SOURCE_VIEW
          Parameter came from dynamic view parameter
 
Method Summary
 String getName()
          Get the parameter name
 int getSource()
          Get the source of the parameter, i.e.
 String getUriEscapedName()
          Get the parameter name escaped and ready to be put on URI
 String getUriEscapedValue()
          Get the parameter value escaped and ready to be put on URI
 String getValue()
          Get the parameter value
 Set<IntentParameterSingleValue> getValues()
          Get the parameter values
 

Field Detail

SOURCE_PATH

static final int SOURCE_PATH
Parameter came from the path, e.g. as a REST parameter

See Also:
Constant Field Values

SOURCE_QUERY

static final int SOURCE_QUERY
Parameter came from the query, e.g. the query string of a URL

See Also:
Constant Field Values

SOURCE_POST

static final int SOURCE_POST
Parameter came from posted parameters, e.g. from an HTTP POST

See Also:
Constant Field Values

SOURCE_HEADER

static final int SOURCE_HEADER
Parameter came from the header, e.g. an HTTP header

See Also:
Constant Field Values

SOURCE_CONFIG

static final int SOURCE_CONFIG
Parameter came from system configuration

See Also:
Constant Field Values

SOURCE_RULE

static final int SOURCE_RULE
Parameter came from context rule

See Also:
Constant Field Values

SOURCE_VIEW

static final int SOURCE_VIEW
Parameter came from dynamic view parameter

See Also:
Constant Field Values

SOURCE_CONTEXT_RULE

static final int SOURCE_CONTEXT_RULE
Parameter came from a context rule parameter

See Also:
Constant Field Values

SOURCE_ROUTE_DEFAULT

static final int SOURCE_ROUTE_DEFAULT
Parameter came from a route default

See Also:
Constant Field Values

SOURCE_MAX

static final int SOURCE_MAX
See Also:
Constant Field Values
Method Detail

getName

String getName()
Get the parameter name

Returns:
String

getUriEscapedName

String getUriEscapedName()
Get the parameter name escaped and ready to be put on URI


getValue

String getValue()
Get the parameter value

Returns:
String

getUriEscapedValue

String getUriEscapedValue()
Get the parameter value escaped and ready to be put on URI


getValues

Set<IntentParameterSingleValue> getValues()
Get the parameter values

Returns:
Set

getSource

int getSource()
Get the source of the parameter, i.e. where the parameter came from, e.g. REST URL, query string or HTTP header

Returns:
int