scalaj.http

HttpRequest

case class HttpRequest(url: String, method: String, exec: (HttpRequest, HttpURLConnection) ⇒ Unit, params: Seq[(String, String)], headers: Seq[(String, String)], options: Seq[(HttpURLConnection) ⇒ Unit], 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. Hide All
  2. Show all
  1. HttpRequest
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
Visibility
  1. Public
  2. All

Instance Constructors

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

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def asBytes: HttpResponse[Array[Byte]]

  7. final def asInstanceOf[T0]: T0

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

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

  10. def asString: HttpResponse[String]

  11. def asToken: HttpResponse[Token]

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

  13. def canEqual(arg0: Any): Boolean

    Definition Classes
    HttpRequest → Equals
  14. def charset(cs: String): HttpRequest

  15. val charset: String

  16. def clone(): AnyRef

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

    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean

    Definition Classes
    HttpRequest → Equals → AnyRef → Any
  19. val exec: (HttpRequest, HttpURLConnection) ⇒ Unit

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

  21. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  23. def hashCode(): Int

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

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

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

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

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

  29. final def isInstanceOf[T0]: Boolean

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

  31. val method: String

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

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

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

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

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

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

  38. def oauth(consumer: Token): HttpRequest

  39. def option(o: (HttpURLConnection) ⇒ Unit): HttpRequest

  40. def options(o: (HttpURLConnection) ⇒ Unit, rest: (HttpURLConnection) ⇒ Unit*): HttpRequest

  41. def options(o: Seq[(HttpURLConnection) ⇒ Unit]): HttpRequest

  42. val options: Seq[(HttpURLConnection) ⇒ Unit]

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

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

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

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

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

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

  49. def postData(data: String): HttpRequest

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

  51. def postForm: HttpRequest

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

  53. def productArity: Int

    Definition Classes
    HttpRequest → Product
  54. def productElement(arg0: Int): Any

    Definition Classes
    HttpRequest → Product
  55. def productIterator: Iterator[Any]

    Definition Classes
    Product
  56. def productPrefix: String

    Definition Classes
    HttpRequest → Product
  57. def proxy(proxy: Proxy): HttpRequest

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

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

  60. val proxy: Proxy

  61. def sendBufferSize(numBytes: Int): HttpRequest

  62. val sendBufferSize: Int

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

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

  65. def toString(): String

    Definition Classes
    HttpRequest → AnyRef → Any
  66. val url: String

  67. val urlBuilder: (HttpRequest) ⇒ String

  68. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Deprecated Value Members

  1. def productElements: Iterator[Any]

    Definition Classes
    Product
    Annotations
    @deprecated
    Deprecated

    (Since version 2.8.0) use productIterator instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any