Package org.apache.ofbiz.webapp.event
Interface RequestBodyMapHandler
-
- All Known Implementing Classes:
JSONRequestBodyMapHandler
public interface RequestBodyMapHandler
An handler that can extract a Map (typically used as a service input map) from the data in the body of aServletRequest
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>
extractMapFromRequestBody(ServletRequest request)
Extracts from the data in the body of theServletRequest
an instance ofMap<String, Object>
.
-
-
-
Method Detail
-
extractMapFromRequestBody
java.util.Map<java.lang.String,java.lang.Object> extractMapFromRequestBody(ServletRequest request) throws java.io.IOException
Extracts from the data in the body of theServletRequest
an instance ofMap<String, Object>
.- Parameters:
request
- the request with the data in its body- Returns:
- an instance of
Map<String, Object>
that represents the data in the request body - Throws:
java.io.IOException
-
-