scalaj.http.Http

Request

case class Request(method: String, exec: (Request, HttpURLConnection) ⇒ Unit, url: (Request) ⇒ URL, params: List[(String, String)], headers: List[(String, String)], options: List[(HttpURLConnection) ⇒ Unit], proxy: Proxy, charset: String, sendBufferSize: Int) 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. Request
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Request(method: String, exec: (Request, HttpURLConnection) ⇒ Unit, url: (Request) ⇒ URL, params: List[(String, String)], headers: List[(String, String)], options: List[(HttpURLConnection) ⇒ Unit], proxy: Proxy = java.net.Proxy.NO_PROXY, charset: String = Http.utf8, sendBufferSize: Int = 4096)

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 apply[T](parser: (InputStream) ⇒ T): T

  7. def asBytes: Array[Byte]

  8. def asCodeHeaders: (Int, Map[String, List[String]])

  9. def asHeadersAndParse[T](parser: (InputStream) ⇒ T): (Int, Map[String, List[String]], T)

  10. final def asInstanceOf[T0]: T0

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

  12. def asParams: List[(String, String)]

  13. def asString: String

  14. def asToken: Token

  15. def asXml: Elem

  16. def auth(user: String, password: String): Request

  17. def canEqual(arg0: Any): Boolean

    Definition Classes
    Request → Equals
  18. def charset(cs: String): Request

  19. val charset: String

  20. def clone(): AnyRef

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

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

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

  24. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  26. def getResponseHeaders(conn: HttpURLConnection): Map[String, List[String]]

  27. def getUrl: URL

  28. def hashCode(): Int

    Definition Classes
    Request → AnyRef → Any
  29. def header(key: String, value: String): Request

  30. def headers(h: List[(String, String)]): Request

  31. def headers(h: Map[String, String]): Request

  32. def headers(h: (String, String)*): Request

  33. val headers: List[(String, String)]

  34. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  35. def method(m: String): Request

  36. val method: String

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

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

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

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

  41. def oauth(consumer: Token, token: Token, verifier: String): Request

  42. def oauth(consumer: Token, token: Token): Request

  43. def oauth(consumer: Token): Request

  44. def option(o: (HttpURLConnection) ⇒ Unit): Request

  45. def options(o: List[(HttpURLConnection) ⇒ Unit]): Request

  46. def options(o: (HttpURLConnection) ⇒ Unit*): Request

  47. val options: List[(HttpURLConnection) ⇒ Unit]

  48. def param(key: String, value: String): Request

  49. def params(p: List[(String, String)]): Request

  50. def params(p: Map[String, String]): Request

  51. def params(p: (String, String)*): Request

  52. val params: List[(String, String)]

  53. def process[T](processor: (HttpURLConnection) ⇒ T): T

  54. def productArity: Int

    Definition Classes
    Request → Product
  55. def productElement(arg0: Int): Any

    Definition Classes
    Request → Product
  56. def productIterator: Iterator[Any]

    Definition Classes
    Product
  57. def productPrefix: String

    Definition Classes
    Request → Product
  58. def proxy(proxy: Proxy): Request

  59. def proxy(host: String, port: Int, proxyType: Type): Request

  60. def proxy(host: String, port: Int): Request

  61. val proxy: Proxy

  62. def responseCode: Int

  63. def sendBufferSize(numBytes: Int): Request

  64. val sendBufferSize: Int

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

    Definition Classes
    AnyRef
  66. def toString(): String

    Definition Classes
    Request → AnyRef → Any
  67. val url: (Request) ⇒ URL

  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