etlflow.task

package etlflow.task

Members list

Type members

Classlikes

case class HttpRequestTask(name: String, url: String, method: HttpMethod, params: Either[String, Map[String, String]], headers: Map[String, String], log: Boolean, connectionTimeout: Long, readTimeout: Long, allowUnsafeSSL: Boolean) extends EtlTask[Http, Response[String]]

Describes a HTTP request

Describes a HTTP request

Value parameters

allowUnsafeSSL

Allow sending unsafe SSL requests

connectionTimeout

Http request connection timeout in MILLISECONDS

headers

Http request headers

log

Boolean flag to enable/disable detailed logging of HTTP requests

method

Supported Http method are GET, POST, PUT

name

Name of the Task

params

For POST/PUT Requests: To encode http request body as JSON use Left(String), To encode http request body as FORM use Right(Map[String, String]) For GET Requests: To send params in URL use Right(Map[String, String]), Left(String) is not available for GET

readTimeout

Http request read timeout in MILLISECONDS

url

Http Request URL

Attributes

Supertypes
trait Serializable
trait EtlTask[Http, Response[String]]
trait ApplicationLogger
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all