Packages

package task

Type Members

  1. case class HttpRequestTask(name: String, url: String, method: HttpMethod, params: Either[String, Map[String, String]] = Right(Map.empty), headers: Map[String, String] = Map.empty, log: Boolean = false, connectionTimeout: Long = 10000, readTimeout: Long = 150000, allowUnsafeSSL: Boolean = false) extends EtlTask[Any, Response[String]] with Product with Serializable

    Describes a HTTP request

    Describes a HTTP request

    name

    Name of the Task

    url

    Http Request URL

    method

    Supported Http method are GET, POST, PUT

    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

    headers

    Http request headers

    log

    Boolean flag to enable/disable detailed logging of HTTP requests

    connectionTimeout

    Http request connection timeout in MILLISECONDS

    readTimeout

    Http request read timeout in MILLISECONDS

    allowUnsafeSSL

    Allow sending unsafe SSL requests

    Annotations
    @SuppressWarnings()

Ungrouped