scalaj.http

HttpRequest

case class HttpRequest(url: String, method: String, exec: HttpExec, params: Seq[(String, String)], headers: Seq[(String, String)], options: Seq[HttpOption], proxy: Proxy, charset: String, sendBufferSize: Int, urlBuilder: (HttpRequest) ⇒ String) extends Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. HttpRequest
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new HttpRequest(url: String, method: String, exec: HttpExec, params: Seq[(String, String)], headers: Seq[(String, String)], options: Seq[HttpOption], proxy: Proxy, charset: String, sendBufferSize: Int, urlBuilder: (HttpRequest) ⇒ String)

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. def asBytes: HttpResponse[Array[Byte]]

  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def asParamMap: HttpResponse[Map[String, String]]

  7. def asParams: HttpResponse[Seq[(String, String)]]

  8. def asString: HttpResponse[String]

  9. def asToken: HttpResponse[Token]

  10. def auth(user: String, password: String): HttpRequest

  11. def charset(cs: String): HttpRequest

  12. val charset: String

  13. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. val exec: HttpExec

  16. def execute[T](parser: (InputStream) ⇒ T = ..., stream: Boolean = false): HttpResponse[T]

  17. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  19. def header(key: String, value: String): HttpRequest

  20. def headers(h: (String, String), rest: (String, String)*): HttpRequest

  21. def headers(h: Seq[(String, String)]): HttpRequest

  22. def headers(h: Map[String, String]): HttpRequest

  23. val headers: Seq[(String, String)]

  24. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  25. def method(m: String): HttpRequest

  26. val method: String

  27. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  30. def oauth(consumer: Token, token: Option[Token], verifier: Option[String]): HttpRequest

  31. def oauth(consumer: Token, token: Token, verifier: String): HttpRequest

  32. def oauth(consumer: Token, token: Token): HttpRequest

  33. def oauth(consumer: Token): HttpRequest

  34. def option(o: HttpOption): HttpRequest

  35. def options(o: HttpOption, rest: HttpOption*): HttpRequest

  36. def options(o: Seq[HttpOption]): HttpRequest

  37. val options: Seq[HttpOption]

  38. def param(key: String, value: String): HttpRequest

  39. def params(p: (String, String), rest: (String, String)*): HttpRequest

  40. def params(p: Seq[(String, String)]): HttpRequest

  41. def params(p: Map[String, String]): HttpRequest

  42. val params: Seq[(String, String)]

  43. def postData(data: Array[Byte]): HttpRequest

  44. def postData(data: String): HttpRequest

  45. def postForm(params: Seq[(String, String)]): HttpRequest

  46. def postForm: HttpRequest

  47. def postMulti(parts: MultiPart*): HttpRequest

  48. def proxy(proxy: Proxy): HttpRequest

  49. def proxy(host: String, port: Int, proxyType: Type): HttpRequest

  50. def proxy(host: String, port: Int): HttpRequest

  51. val proxy: Proxy

  52. def sendBufferSize(numBytes: Int): HttpRequest

  53. val sendBufferSize: Int

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

    Definition Classes
    AnyRef
  55. def timeout(connTimeoutMs: Int, readTimeoutMs: Int): HttpRequest

  56. val url: String

  57. val urlBuilder: (HttpRequest) ⇒ String

  58. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped