Class

cloud.artik.cloudconnector.api_v1

RequestDef

Related Doc: package api_v1

Permalink

case class RequestDef(url: String, method: HttpMethod = HttpMethod.Get, queryParams: Map[String, String] = Empty.map, headers: Map[String, String] = Empty.map, bodyParams: Map[String, String] = Empty.map, contentType: String = "text/plain", content: String = "", signature: Option[SignatureDataForOAuth] = None, delay: Long = 0, passThrough: Map[String, String] = Empty.map) extends Task with CustomAuthenticationTask with WelcomeTask with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, WelcomeTask, CustomAuthenticationTask, Task, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. RequestDef
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. WelcomeTask
  7. CustomAuthenticationTask
  8. Task
  9. AnyRef
  10. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RequestDef(url: String)

    Permalink
  2. new RequestDef(url: String, method: HttpMethod, queryParams: Map[String, String], headers: Map[String, String], bodyParams: Map[String, String], contentType: String, content: String, signature: Option[SignatureDataForOAuth])

    Permalink
  3. new RequestDef(url: String, method: HttpMethod, queryParams: Map[String, String], headers: Map[String, String], bodyParams: Map[String, String], contentType: String, content: String, signature: Option[SignatureDataForOAuth], delay: Long)

    Permalink
  4. new RequestDef(url: String, method: HttpMethod = HttpMethod.Get, queryParams: Map[String, String] = Empty.map, headers: Map[String, String] = Empty.map, bodyParams: Map[String, String] = Empty.map, contentType: String = "text/plain", content: String = "", signature: Option[SignatureDataForOAuth] = None, delay: Long = 0, passThrough: Map[String, String] = Empty.map)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addHeaders(v: Map[String, String]): RequestDef

    Permalink
  5. def addPassThrough(v: Map[String, String]): RequestDef

    Permalink
  6. def addQueryParams(v: Map[String, String]): RequestDef

    Permalink
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. val bodyParams: Map[String, String]

    Permalink
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. val content: String

    Permalink
  11. val contentType: String

    Permalink
  12. val delay: Long

    Permalink
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. val headers: Map[String, String]

    Permalink
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. val method: HttpMethod

    Permalink
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. val passThrough: Map[String, String]

    Permalink
  23. val queryParams: Map[String, String]

    Permalink
  24. val signature: Option[SignatureDataForOAuth]

    Permalink
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. val url: String

    Permalink
  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. def withBodyParams(v: Map[String, String]): RequestDef

    Permalink

    Convert the given Map to request body accordingly to the set content-type.

    Convert the given Map to request body accordingly to the set content-type. Supported content-type are: - application/json - multipart/form-data - application/x-www-form-urlencoded (default) If used, 'withContent' method is ignored.

  31. def withContent(v: String, contentType: String): RequestDef

    Permalink
  32. def withContentType(v: String): RequestDef

    Permalink
  33. def withDelay(d: Long): RequestDef

    Permalink
  34. def withHeaders(v: Map[String, String]): RequestDef

    Permalink
  35. def withMethod(v: HttpMethod): RequestDef

    Permalink
  36. def withPassThrough(v: Map[String, String]): RequestDef

    Permalink
  37. def withQueryParams(v: Map[String, String]): RequestDef

    Permalink
  38. def withSignature(s: SignatureDataForOAuth): RequestDef

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from WelcomeTask

Inherited from CustomAuthenticationTask

Inherited from Task

Inherited from AnyRef

Inherited from Any

Ungrouped