Package com.almis.awe.model.component
Class AweRequest
- java.lang.Object
-
- com.almis.awe.model.component.AweRequest
-
public class AweRequest extends Object
- Author:
- pgarcia
-
-
Constructor Summary
Constructors Constructor Description AweRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, com.fasterxml.jackson.databind.ObjectMapper mapper)
Autowired constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode
getParameter(String parameterId)
Retrieve the parameterCellData
getParameterAsCellData(com.fasterxml.jackson.databind.JsonNode parameter)
Retrieve the parameter as CellDataCellData
getParameterAsCellData(String parameterId)
Retrieve the parameterList<CellData>
getParameterAsCellDataList(com.fasterxml.jackson.databind.JsonNode parameter)
Retrieve the parameterList<CellData>
getParameterAsCellDataList(String parameterId)
Retrieve the parameterString
getParameterAsString(String parameterId)
Retrieve the parametercom.fasterxml.jackson.databind.node.ObjectNode
getParameterList()
Retrieve the parameter listcom.fasterxml.jackson.databind.node.ObjectNode
getParametersSafe()
Retrieve the parameter list to be modified without thread issuesvoid
setParameter(@NotNull String name, Object... valueList)
Stores the specific value of a parameter in the internal parameter listvoid
setParameterList(com.fasterxml.jackson.databind.node.ObjectNode parameterList)
Store the parameter list
-
-
-
Method Detail
-
setParameter
public void setParameter(@NotNull @NotNull String name, Object... valueList)
Stores the specific value of a parameter in the internal parameter list- Parameters:
name
- Parameter namevalueList
- Parameter value
-
setParameterList
public void setParameterList(com.fasterxml.jackson.databind.node.ObjectNode parameterList)
Store the parameter list- Parameters:
parameterList
- the parameterList to set
-
getParameter
public com.fasterxml.jackson.databind.JsonNode getParameter(String parameterId)
Retrieve the parameter- Parameters:
parameterId
- Parameter identifier- Returns:
- Parameter as json
-
getParameterList
public com.fasterxml.jackson.databind.node.ObjectNode getParameterList()
Retrieve the parameter list- Returns:
- parameter list
-
getParametersSafe
public com.fasterxml.jackson.databind.node.ObjectNode getParametersSafe()
Retrieve the parameter list to be modified without thread issues- Returns:
- parameter list
-
getParameterAsString
public String getParameterAsString(String parameterId)
Retrieve the parameter- Parameters:
parameterId
- Parameter identifier- Returns:
- Parameter as string
-
getParameterAsCellDataList
public List<CellData> getParameterAsCellDataList(String parameterId)
Retrieve the parameter- Parameters:
parameterId
- Parameter identifier- Returns:
- Parameter as cell data list
-
getParameterAsCellDataList
public List<CellData> getParameterAsCellDataList(com.fasterxml.jackson.databind.JsonNode parameter)
Retrieve the parameter- Parameters:
parameter
- Parameter- Returns:
- Parameter as cell data list
-
getParameterAsCellData
public CellData getParameterAsCellData(String parameterId)
Retrieve the parameter- Parameters:
parameterId
- Parameter identifier- Returns:
- Parameter as cell data
-
getParameterAsCellData
public CellData getParameterAsCellData(com.fasterxml.jackson.databind.JsonNode parameter)
Retrieve the parameter as CellData- Parameters:
parameter
- Parameter- Returns:
- Parameter as cell data
-
-