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 Details

    • extractMapFromRequestBody

      Map<String,Object> extractMapFromRequestBody(ServletRequest request) throws IOException
      Extracts from the data in the body of the ServletRequest an instance of Map<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