c

requests

Request

case class Request(url: String, auth: RequestAuth = RequestAuth.Empty, params: Iterable[(String, String)] = Nil, headers: Iterable[(String, String)] = Nil, readTimeout: Int = 0, connectTimeout: Int = 0, proxy: (String, Int) = null, cert: Cert = null, sslContext: SSLContext = null, cookies: Map[String, HttpCookie] = Map(), cookieValues: Map[String, String] = Map(), maxRedirects: Int = 5, verifySslCerts: Boolean = true, autoDecompress: Boolean = true, compress: Compress = Compress.None, keepAlive: Boolean = true, check: Boolean = true) extends Product with Serializable

The equivalent of configuring a Requester.apply or Requester.stream call, but without invoking it. Useful if you want to further customize it and make the call later via the overloads of apply/stream that take a Request.

Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Request
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Request(url: String, auth: RequestAuth = RequestAuth.Empty, params: Iterable[(String, String)] = Nil, headers: Iterable[(String, String)] = Nil, readTimeout: Int = 0, connectTimeout: Int = 0, proxy: (String, Int) = null, cert: Cert = null, sslContext: SSLContext = null, cookies: Map[String, HttpCookie] = Map(), cookieValues: Map[String, String] = Map(), maxRedirects: Int = 5, verifySslCerts: Boolean = true, autoDecompress: Boolean = true, compress: Compress = Compress.None, keepAlive: Boolean = true, check: Boolean = true)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val auth: RequestAuth
  6. val autoDecompress: Boolean
  7. val cert: Cert
  8. val check: Boolean
  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  10. val compress: Compress
  11. val connectTimeout: Int
  12. val cookieValues: Map[String, String]
  13. val cookies: Map[String, HttpCookie]
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. val headers: Iterable[(String, String)]
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. val keepAlive: Boolean
  19. val maxRedirects: Int
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. val params: Iterable[(String, String)]
  24. def productElementNames: Iterator[String]
    Definition Classes
    Product
  25. val proxy: (String, Int)
  26. val readTimeout: Int
  27. val sslContext: SSLContext
  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. val url: String
  30. val verifySslCerts: Boolean
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped