org.araneaframework
Interface InputData

All Superinterfaces:
Extendable, Narrowable
All Known Subinterfaces:
HttpInputData
All Known Implementing Classes:
StandardServletInputData

public interface InputData
extends Extendable, Narrowable

Provides access to request parameters.

InputData has 2 types of getters

Author:
"Toomas Römer" , Jevgeni Kabanov (ekabanov at araneaframework dot org)
See Also:
HttpInputData

Field Summary
static String INPUT_DATA_KEY
          The key that can be used to retrieve InputData (as an example a request scope attribute).
 
Method Summary
 Map getGlobalData()
          Returns the global data of this object.
 OutputData getOutputData()
          Returns the current OutputData.
 Map getScopedData(Path scope)
          Returns the data with the Path prefix.
 
Methods inherited from interface org.araneaframework.Extendable
extend
 
Methods inherited from interface org.araneaframework.Narrowable
narrow
 

Field Detail

INPUT_DATA_KEY

public static final String INPUT_DATA_KEY
The key that can be used to retrieve InputData (as an example a request scope attribute).

See Also:
Constant Field Values
Method Detail

getScopedData

public Map getScopedData(Path scope)
Returns the data with the Path prefix.

Parameters:
scope - the Path prefix
Returns:
a map with the data

getGlobalData

public Map getGlobalData()
Returns the global data of this object. Global data is not the same as scoped data with empty path.

Returns:
the map with the global data

getOutputData

public OutputData getOutputData()
Returns the current OutputData.