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 a
ServletRequest
.-
Method Summary
Modifier and TypeMethodDescriptionextractMapFromRequestBody
(ServletRequest request) Extracts from the data in the body of theServletRequest
an instance ofMap<String, Object>
.
-
Method Details
-
extractMapFromRequestBody
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:
IOException
-