it.agilelab.bigdata.wasp.consumers.spark.plugins.http
is a Row with at minimun one column: bodyColumnName that is an Array[Byte] representing the body of the request already compressed in the format stated by httpModel.compression. If httpModel.headersFieldName is not None, then it is expected a column of type Map[String, String] named as headersFieldName. The only compression types supported are "identity" and "gzip".
IllegalArgumentException
if set compression type is not supported
RuntimeException
if response code is not 2xx