etlflow.task
package etlflow.task
Members list
Concise view
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[Any, Response[String]]
Describes a HTTP request
Describes a HTTP request
Attributes
- 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
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalstrait EtlTask[Any, Response[String]]trait ApplicationLoggerclass Objecttrait Matchableclass Any