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
Ordering
- Alphabetic
- By Inheritance
Inherited
- Request
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- 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
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val auth: RequestAuth
- val autoDecompress: Boolean
- val cert: Cert
- val check: Boolean
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- val compress: Compress
- val connectTimeout: Int
- val cookieValues: Map[String, String]
- val cookies: Map[String, HttpCookie]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val headers: Iterable[(String, String)]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val keepAlive: Boolean
- val maxRedirects: Int
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val params: Iterable[(String, String)]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val proxy: (String, Int)
- val readTimeout: Int
- val sslContext: SSLContext
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val url: String
- val verifySslCerts: Boolean
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])