Package com.almis.awe.model.component
Class AweRequest
java.lang.Object
com.almis.awe.model.component.AweRequest
- Author:
- pgarcia
-
Constructor Summary
ConstructorDescriptionAweRequest
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, com.fasterxml.jackson.databind.ObjectMapper mapper) Autowired constructor -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
getParameter
(String parameterId) Retrieve the parametergetParameterAsCellData
(com.fasterxml.jackson.databind.JsonNode parameter) Retrieve the parameter as CellDatagetParameterAsCellData
(String parameterId) Retrieve the parametergetParameterAsCellDataList
(com.fasterxml.jackson.databind.JsonNode parameter) Retrieve the parametergetParameterAsCellDataList
(String parameterId) Retrieve the parametergetParameterAsString
(String parameterId) Retrieve the parametercom.fasterxml.jackson.databind.node.ObjectNode
Retrieve the parameter listcom.fasterxml.jackson.databind.node.ObjectNode
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
-
Constructor Details
-
AweRequest
public AweRequest(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, com.fasterxml.jackson.databind.ObjectMapper mapper) Autowired constructor- Parameters:
request
- Requestresponse
- Responsemapper
- ObjectMapper
-
-
Method Details
-
setParameter
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
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
Retrieve the parameter- Parameters:
parameterId
- Parameter identifier- Returns:
- Parameter as string
-
getParameterAsCellDataList
Retrieve the parameter- Parameters:
parameterId
- Parameter identifier- Returns:
- Parameter as cell data list
-
getParameterAsCellDataList
Retrieve the parameter- Parameters:
parameter
- Parameter- Returns:
- Parameter as cell data list
-
getParameterAsCellData
Retrieve the parameter- Parameters:
parameterId
- Parameter identifier- Returns:
- Parameter as cell data
-
getParameterAsCellData
Retrieve the parameter as CellData- Parameters:
parameter
- Parameter- Returns:
- Parameter as cell data
-