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 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 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:
        java.io.IOException